about summary refs log tree commit diff
path: root/compiler/rustc_ast_ir
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_ast_ir
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_ast_ir')
-rw-r--r--compiler/rustc_ast_ir/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_ast_ir/src/lib.rs b/compiler/rustc_ast_ir/src/lib.rs
index 9884e191ea7..6d05cd18cec 100644
--- a/compiler/rustc_ast_ir/src/lib.rs
+++ b/compiler/rustc_ast_ir/src/lib.rs
@@ -9,7 +9,6 @@
 #![cfg_attr(feature = "nightly", allow(internal_features))]
 #![cfg_attr(feature = "nightly", feature(never_type))]
 #![cfg_attr(feature = "nightly", feature(rustc_attrs))]
-#![warn(unreachable_pub)]
 // tidy-alphabetical-end
 
 #[cfg(feature = "nightly")]