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_parse_format/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_parse_format/src')
| -rw-r--r-- | compiler/rustc_parse_format/src/lib.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/rustc_parse_format/src/lib.rs b/compiler/rustc_parse_format/src/lib.rs index 1e1d45d6f70..625764876a6 100644 --- a/compiler/rustc_parse_format/src/lib.rs +++ b/compiler/rustc_parse_format/src/lib.rs @@ -11,8 +11,9 @@ )] #![deny(rustc::untranslatable_diagnostic)] #![deny(rustc::diagnostic_outside_of_impl)] -// WARNING: 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)] use rustc_lexer::unescape; pub use Alignment::*; |
