]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_lexer/src/lib.rs
New upstream version 1.77.2+dfsg1
[rustc.git] / compiler / rustc_lexer / src / lib.rs
index 43dfd34a6ff742950756157e9d9490c16a06053f..f6c9289b529c77741493031d2f55e774dba54166 100644 (file)
@@ -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;