Add warn(unreachable_pub) to rustc_lexer.

This commit is contained in:
Nicholas Nethercote 2024-08-27 15:12:46 +10:00
parent a941a4be77
commit 6c84c55c9f

View File

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