From ce22ccb55233dbf3d19c8a6796828ef24d6e9095 Mon Sep 17 00:00:00 2001 From: lcnr Date: Thu, 24 Oct 2024 12:00:55 +0200 Subject: [PATCH] remove outdated debug_assertion --- compiler/rustc_next_trait_solver/src/solve/trait_goals.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/compiler/rustc_next_trait_solver/src/solve/trait_goals.rs b/compiler/rustc_next_trait_solver/src/solve/trait_goals.rs index 9b63c6cc68e..e23e475a2a6 100644 --- a/compiler/rustc_next_trait_solver/src/solve/trait_goals.rs +++ b/compiler/rustc_next_trait_solver/src/solve/trait_goals.rs @@ -190,9 +190,6 @@ where } } - // We want to make sure - debug_assert!(!matches!(ecx.typing_mode(), TypingMode::Coherence)); - ecx.probe_and_evaluate_goal_for_constituent_tys( CandidateSource::BuiltinImpl(BuiltinImplSource::Misc), goal,