We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1aa5b22 commit 99507a3Copy full SHA for 99507a3
compiler/rustc_next_trait_solver/src/solve/trait_goals.rs
@@ -1219,10 +1219,8 @@ where
1219
// the type (even if after unification and processing nested goals
1220
// it does not hold) will disqualify the built-in auto impl.
1221
//
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.
+ // We've originally had a more permissive check here which resulted
+ // in unsoundness, see #84857.
1226
ty::Bool
1227
| ty::Char
1228
| ty::Int(_)
0 commit comments