1
Fork 0

Undeprecate and use lint unstable_features

This commit is contained in:
León Orell Valerian Liehr 2023-12-05 08:56:30 +01:00
parent bf9229a2e3
commit c0a9f722c4
No known key found for this signature in database
GPG key ID: D17A07215F68E713
5 changed files with 35 additions and 13 deletions

View file

@ -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::*;