Skip to content

Commit e393d40

Browse files
committed
remove outdated debug_assertion
1 parent 450b9f4 commit e393d40

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

compiler/rustc_next_trait_solver/src/solve/trait_goals.rs

-3
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,6 @@ where
182182
}
183183
}
184184

185-
// We want to make sure
186-
debug_assert!(!matches!(ecx.typing_mode(), TypingMode::Coherence));
187-
188185
ecx.probe_and_evaluate_goal_for_constituent_tys(
189186
CandidateSource::BuiltinImpl(BuiltinImplSource::Misc),
190187
goal,

0 commit comments

Comments
 (0)