Add warn(unreachable_pub)
to rustc_lexer
.
This commit is contained in:
parent
a941a4be77
commit
6c84c55c9f
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@
|
||||||
// We want to be able to build this crate with a stable compiler,
|
// We want to be able to build this crate with a stable compiler,
|
||||||
// so no `#![feature]` attributes should be added.
|
// so no `#![feature]` attributes should be added.
|
||||||
#![deny(unstable_features)]
|
#![deny(unstable_features)]
|
||||||
|
#![warn(unreachable_pub)]
|
||||||
// tidy-alphabetical-end
|
// tidy-alphabetical-end
|
||||||
|
|
||||||
mod cursor;
|
mod cursor;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue