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
This commit is contained in:
commit
a54c295665
5 changed files with 35 additions and 13 deletions
|
@ -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::*;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue