Skip to content

Commit e0c16a8

Browse files
authored
Update compiler/rustc_next_trait_solver/src/solve/assembly/mod.rs
1 parent b0df1dd commit e0c16a8

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_next_trait_solver/src/solve/assembly

1 file changed

+1
-0
lines changed

compiler/rustc_next_trait_solver/src/solve/assembly/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ where
406406
// We only do this if any such candidate applies without any constraints
407407
// as we may want to weaken inference guidance in the future and don't want
408408
// to worry about causing major performance regressions when doing so.
409+
// See trait-system-refactor-initiative#226 for some ideas here.
409410
if TypingMode::Coherence == self.typing_mode()
410411
|| !candidates.iter().any(|c| {
411412
matches!(

0 commit comments

Comments
 (0)