Update compiler/rustc_trait_selection/src/traits/coherence.rs
This commit is contained in:
parent
ba8b4a4f82
commit
89a00cc8ae
1 changed files with 0 additions and 1 deletions
|
@ -368,7 +368,6 @@ fn negative_impl_exists<'cx, 'tcx>(
|
|||
}
|
||||
|
||||
// Try to prove a negative obligation exist for super predicates
|
||||
// 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;
|
||||
|
|
Loading…
Add table
Reference in a new issue