From 89a00cc8ae92f159325a7b5cb06a6d7802a4f3c5 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Thu, 17 Mar 2022 16:51:30 -0400 Subject: [PATCH] Update compiler/rustc_trait_selection/src/traits/coherence.rs --- compiler/rustc_trait_selection/src/traits/coherence.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/rustc_trait_selection/src/traits/coherence.rs b/compiler/rustc_trait_selection/src/traits/coherence.rs index 6c3ce3ee371..94a4001bbb9 100644 --- a/compiler/rustc_trait_selection/src/traits/coherence.rs +++ b/compiler/rustc_trait_selection/src/traits/coherence.rs @@ -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;