This test now works

This commit is contained in:
Santiago Pastorino 2022-03-17 12:36:12 -03:00
parent 61a05ef8d6
commit 91846fe12a
No known key found for this signature in database
GPG key ID: 8131A24E0C79EFAF
3 changed files with 3 additions and 13 deletions

View file

@ -366,6 +366,7 @@ fn negative_impl_exists<'cx, 'tcx>(
return true;
}
// FIXME we should implement an `assemble_neg_candidates` fn
for o in util::elaborate_predicates(infcx.tcx, iter::once(o.predicate)) {
if resolve_negative_obligation(infcx, param_env, region_context, &o) {
return true;