about summary refs log tree commit diff
path: root/compiler/rustc_error_codes
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_error_codes
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_error_codes')
-rw-r--r--compiler/rustc_error_codes/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/lib.rs b/compiler/rustc_error_codes/src/lib.rs
index d53d5678832..dfeef5a957d 100644
--- a/compiler/rustc_error_codes/src/lib.rs
+++ b/compiler/rustc_error_codes/src/lib.rs
@@ -6,7 +6,6 @@
 #![deny(rustdoc::invalid_codeblock_attributes)]
 #![doc(rust_logo)]
 #![feature(rustdoc_internals)]
-#![warn(unreachable_pub)]
 // tidy-alphabetical-end
 
 // This higher-order macro defines the error codes that are in use. It is used