about summary refs log tree commit diff
path: root/compiler/rustc_lexer
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-03-11 12:55:32 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2025-03-11 13:14:21 +1100
commitff0a5fe975bdf94ea6a42c96c20a3891a91e503c (patch)
tree215cfd5debe95b07ddf951a9305f0348f4b57dff /compiler/rustc_lexer
parent55505ab1d3da2ad201303674cb6d3ebeb53e395d (diff)
downloadrust-ff0a5fe975bdf94ea6a42c96c20a3891a91e503c.tar.gz
rust-ff0a5fe975bdf94ea6a42c96c20a3891a91e503c.zip
Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.
It's no longer necessary now that `-Wunreachable_pub` is being passed.
Diffstat (limited to 'compiler/rustc_lexer')
-rw-r--r--compiler/rustc_lexer/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_lexer/src/lib.rs b/compiler/rustc_lexer/src/lib.rs
index bf18845a083..61638e45253 100644
--- a/compiler/rustc_lexer/src/lib.rs
+++ b/compiler/rustc_lexer/src/lib.rs
@@ -23,7 +23,6 @@
 // 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;