mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 05:51:58 +00:00
Add warn(unreachable_pub)
to rustc_lexer
.
This commit is contained in:
parent
a941a4be77
commit
6c84c55c9f
@ -23,6 +23,7 @@
|
||||
// We want to be able to build this crate with a stable compiler,
|
||||
// so no `#![feature]` attributes should be added.
|
||||
#![deny(unstable_features)]
|
||||
#![warn(unreachable_pub)]
|
||||
// tidy-alphabetical-end
|
||||
|
||||
mod cursor;
|
||||
|
Loading…
Reference in New Issue
Block a user