about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-07-14 13:50:27 -0400
committerMichael Goulet <michael@errs.io>2024-07-14 14:01:01 -0400
commitdc207339137a766d7f45590a97cfa0f2a0314e2f (patch)
treedbb6b1f0106482c49a7a3e4cda33a5e88985ab0b /src/bootstrap
parent88fa119c77682e6d55ce21001cf761675cfebeae (diff)
downloadrust-dc207339137a766d7f45590a97cfa0f2a0314e2f.tar.gz
rust-dc207339137a766d7f45590a97cfa0f2a0314e2f.zip
Stop using the gen keyword in the compiler
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/src/core/builder.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap/src/core/builder.rs b/src/bootstrap/src/core/builder.rs
index aeb34743608..398a5f73d7b 100644
--- a/src/bootstrap/src/core/builder.rs
+++ b/src/bootstrap/src/core/builder.rs
@@ -1998,6 +1998,9 @@ impl<'a> Builder<'a> {
         if mode == Mode::Rustc {
             rustflags.arg("-Zunstable-options");
             rustflags.arg("-Wrustc::internal");
+            // FIXME(edition_2024): Change this to `-Wrust_2018_idioms` when all
+            // of the individual lints are satisfied.
+            rustflags.arg("-Wkeyword_idents_2024");
         }
 
         if self.config.rust_frame_pointers {