We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f79f6dd commit d3e941eCopy full SHA for d3e941e
src/solve/test.rs
@@ -859,7 +859,7 @@ fn mixed_indices_normalize_application() {
859
}
860
861
} yields {
862
- "Unique" // normalizations exist even if the trait isn't implemented
+ "Ambig"
863
864
865
@@ -1194,3 +1194,27 @@ fn negation_free_vars() {
1194
1195
1196
1197
+
1198
+// TODO: get this test working!
1199
+#[test]
1200
+#[ignore]
1201
+fn where_clause_trumps() {
1202
+ test! {
1203
+ program {
1204
+ struct Foo { }
1205
1206
+ trait Marker { }
1207
+ impl Marker for Foo { }
1208
+ }
1209
1210
+ goal {
1211
+ forall<T> {
1212
+ if (T: Marker) {
1213
+ T: Marker
1214
1215
1216
+ } yields {
1217
+ "Unique"
1218
1219
1220
+}
0 commit comments