about summary refs log tree commit diff
path: root/compiler/rustc_next_trait_solver
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2025-07-18 09:36:38 +0200
committerlcnr <rust@lcnr.de>2025-07-18 09:36:38 +0200
commit99507a3ce8c5fb5d29833ae6caac9d72febee670 (patch)
tree0866f4dad0230214d0db2da87bd8d4b1ff14c92a /compiler/rustc_next_trait_solver
parent1aa5b2246560ce85b42fa8b33e5927c5de3fa389 (diff)
downloadrust-99507a3ce8c5fb5d29833ae6caac9d72febee670.tar.gz
rust-99507a3ce8c5fb5d29833ae6caac9d72febee670.zip
update comment
Diffstat (limited to 'compiler/rustc_next_trait_solver')
-rw-r--r--compiler/rustc_next_trait_solver/src/solve/trait_goals.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/rustc_next_trait_solver/src/solve/trait_goals.rs b/compiler/rustc_next_trait_solver/src/solve/trait_goals.rs
index 098dc9dbaf0..650b85d99d2 100644
--- a/compiler/rustc_next_trait_solver/src/solve/trait_goals.rs
+++ b/compiler/rustc_next_trait_solver/src/solve/trait_goals.rs
@@ -1219,10 +1219,8 @@ where
             // the type (even if after unification and processing nested goals
             // it does not hold) will disqualify the built-in auto impl.
             //
-            // This differs from the current stable behavior and fixes #84857.
-            // Due to breakage found via crater, we currently instead lint
-            // patterns which can be used to exploit this unsoundness on stable,
-            // see #93367 for more details.
+            // We've originally had a more permissive check here which resulted
+            // in unsoundness, see #84857.
             ty::Bool
             | ty::Char
             | ty::Int(_)