diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2023-12-05 08:56:30 +0100 |
|---|---|---|
| committer | León Orell Valerian Liehr <me@fmease.dev> | 2023-12-20 18:16:28 +0100 |
| commit | c0a9f722c40b728eef492040332d4616c1393e4e (patch) | |
| tree | 55d048f69759ec6d5ad4350e1c9555285fef089d /compiler/rustc_lexer/src/lib.rs | |
| parent | bf9229a2e366b4c311f059014a4aa08af16de5d8 (diff) | |
| download | rust-c0a9f722c40b728eef492040332d4616c1393e4e.tar.gz rust-c0a9f722c40b728eef492040332d4616c1393e4e.zip | |
Undeprecate and use lint `unstable_features`
Diffstat (limited to 'compiler/rustc_lexer/src/lib.rs')
| -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; |
