Skip to content

Commit

Permalink
remove outdated debug_assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
lcnr committed Oct 29, 2024
1 parent f51ec11 commit ce22ccb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions compiler/rustc_next_trait_solver/src/solve/trait_goals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ce22ccb

Please sign in to comment.