diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-01-22 16:54:56 +0100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-22 16:54:56 +0100 | 
| commit | a54c2956654b962bca686d65db396094aa822b49 (patch) | |
| tree | 7e84bc56997c7550fcd299c75e008aa894c28220 /compiler/rustc_lexer/src | |
| parent | e355b276bd32899a386381dfc1c95857d6491b7c (diff) | |
| parent | c0a9f722c40b728eef492040332d4616c1393e4e (diff) | |
| download | rust-a54c2956654b962bca686d65db396094aa822b49.tar.gz rust-a54c2956654b962bca686d65db396094aa822b49.zip  | |
Rollup merge of #118639 - fmease:deny-features-in-stable-rustc-crates, r=WaffleLapkin
Undeprecate lint `unstable_features` and make use of it in the compiler See also #117937. r? compiler
Diffstat (limited to 'compiler/rustc_lexer/src')
| -rw-r--r-- | compiler/rustc_lexer/src/lib.rs | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/rustc_lexer/src/lib.rs b/compiler/rustc_lexer/src/lib.rs index 43dfd34a6ff..f6c9289b529 100644 --- a/compiler/rustc_lexer/src/lib.rs +++ b/compiler/rustc_lexer/src/lib.rs @@ -20,8 +20,9 @@ //! [`rustc_parse::lexer`]: ../rustc_parse/lexer/index.html #![deny(rustc::untranslatable_diagnostic)] #![deny(rustc::diagnostic_outside_of_impl)] -// We want to be able to build this crate with a stable compiler, so no -// `#![feature]` attributes should be added. +// We want to be able to build this crate with a stable compiler, +// so no `#![feature]` attributes should be added. +#![deny(unstable_features)] mod cursor; pub mod unescape;  | 
