about summary refs log tree commit diff
path: root/compiler/rustc_parse_format/src
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2023-12-05 08:56:30 +0100
committerLeón Orell Valerian Liehr <me@fmease.dev>2023-12-20 18:16:28 +0100
commitc0a9f722c40b728eef492040332d4616c1393e4e (patch)
tree55d048f69759ec6d5ad4350e1c9555285fef089d /compiler/rustc_parse_format/src
parentbf9229a2e366b4c311f059014a4aa08af16de5d8 (diff)
downloadrust-c0a9f722c40b728eef492040332d4616c1393e4e.tar.gz
rust-c0a9f722c40b728eef492040332d4616c1393e4e.zip
Undeprecate and use lint `unstable_features`
Diffstat (limited to 'compiler/rustc_parse_format/src')
-rw-r--r--compiler/rustc_parse_format/src/lib.rs5
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 e886db3da29..e5998bc3e99 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::*;