about summary refs log tree commit diff
path: root/compiler/rustc_span/src/lib.rs
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_span/src/lib.rs
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_span/src/lib.rs')
-rw-r--r--compiler/rustc_span/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/lib.rs b/compiler/rustc_span/src/lib.rs
index 798e186a94b..f19d4d9f362 100644
--- a/compiler/rustc_span/src/lib.rs
+++ b/compiler/rustc_span/src/lib.rs
@@ -32,7 +32,6 @@
 #![feature(rustc_attrs)]
 #![feature(rustdoc_internals)]
 #![feature(slice_as_chunks)]
-#![warn(unreachable_pub)]
 // tidy-alphabetical-end
 
 // The code produced by the `Encodable`/`Decodable` derive macros refer to