Skip to content

Commit 99507a3

Browse files
committed
update comment
1 parent 1aa5b22 commit 99507a3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

compiler/rustc_next_trait_solver/src/solve/trait_goals.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,10 +1219,8 @@ where
12191219
// the type (even if after unification and processing nested goals
12201220
// it does not hold) will disqualify the built-in auto impl.
12211221
//
1222-
// This differs from the current stable behavior and fixes #84857.
1223-
// Due to breakage found via crater, we currently instead lint
1224-
// patterns which can be used to exploit this unsoundness on stable,
1225-
// see #93367 for more details.
1222+
// We've originally had a more permissive check here which resulted
1223+
// in unsoundness, see #84857.
12261224
ty::Bool
12271225
| ty::Char
12281226
| ty::Int(_)

0 commit comments

Comments
 (0)