about summary refs log tree commit diff
path: root/compiler/rustc_infer/src/traits/mod.rs
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2023-12-14 13:11:28 +0100
committerlcnr <rust@lcnr.de>2023-12-14 15:22:37 +0100
commit11d16c4082be25fd42b48b37e199f18b4dfe51ed (patch)
tree4fbbe9d1e2c507b665e5bdc5d99ef2b79eaa85d7 /compiler/rustc_infer/src/traits/mod.rs
parent5d97ada1eca831936257598bd60f1857091ec4b7 (diff)
downloadrust-11d16c4082be25fd42b48b37e199f18b4dfe51ed.tar.gz
rust-11d16c4082be25fd42b48b37e199f18b4dfe51ed.zip
update use of feature flags
Diffstat (limited to 'compiler/rustc_infer/src/traits/mod.rs')
-rw-r--r--compiler/rustc_infer/src/traits/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/traits/mod.rs b/compiler/rustc_infer/src/traits/mod.rs
index a26e676c521..b9be178916c 100644
--- a/compiler/rustc_infer/src/traits/mod.rs
+++ b/compiler/rustc_infer/src/traits/mod.rs
@@ -135,7 +135,7 @@ pub enum FulfillmentErrorCode<'tcx> {
     CodeSubtypeError(ExpectedFound<Ty<'tcx>>, TypeError<'tcx>), // always comes from a SubtypePredicate
     CodeConstEquateError(ExpectedFound<Const<'tcx>>, TypeError<'tcx>),
     CodeAmbiguity {
-        /// Overflow reported from the new solver `-Ztrait-solver=next`, which will
+        /// Overflow reported from the new solver `-Znext-solver`, which will
         /// be reported as an regular error as opposed to a fatal error.
         overflow: bool,
     },