about summary refs log tree commit diff
path: root/compiler/rustc_privacy
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-03-06 14:37:13 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2025-03-08 08:41:43 +1100
commit8a3e03392ef12508a3ce50875594ddedd1164ed7 (patch)
tree0e5638bc63ef4f3f33e599534cbc980b1a6ae9b1 /compiler/rustc_privacy
parent9212e31c92aba29fac1c1e05a258abe36dd0afee (diff)
downloadrust-8a3e03392ef12508a3ce50875594ddedd1164ed7.tar.gz
rust-8a3e03392ef12508a3ce50875594ddedd1164ed7.zip
Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.
(Except for `rustc_codegen_cranelift`.)

It's no longer necessary now that `unreachable_pub` is in the workspace
lints.
Diffstat (limited to 'compiler/rustc_privacy')
-rw-r--r--compiler/rustc_privacy/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_privacy/src/lib.rs b/compiler/rustc_privacy/src/lib.rs
index 5271d03a6f6..5e3e8d69b60 100644
--- a/compiler/rustc_privacy/src/lib.rs
+++ b/compiler/rustc_privacy/src/lib.rs
@@ -6,7 +6,6 @@
 #![feature(let_chains)]
 #![feature(rustdoc_internals)]
 #![feature(try_blocks)]
-#![warn(unreachable_pub)]
 // tidy-alphabetical-end
 
 mod errors;