mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Update compiler/rustc_trait_selection/src/traits/coherence.rs
This commit is contained in:
parent
ba8b4a4f82
commit
89a00cc8ae
@ -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…
Reference in New Issue
Block a user