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.
This commit is contained in:
Nicholas Nethercote 2025-03-06 14:37:13 +11:00
parent 9212e31c92
commit 8a3e03392e
62 changed files with 0 additions and 65 deletions

View file

@ -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")]