Skip to content

Commit d3e941e

Browse files
committed
Test fixup
1 parent f79f6dd commit d3e941e

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

src/solve/test.rs

+25-1
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ fn mixed_indices_normalize_application() {
859859
}
860860
}
861861
} yields {
862-
"Unique" // normalizations exist even if the trait isn't implemented
862+
"Ambig"
863863
}
864864
}
865865
}
@@ -1194,3 +1194,27 @@ fn negation_free_vars() {
11941194
}
11951195
}
11961196
}
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

Comments
 (0)