Add `warn(unreachable_pub)` to `rustc_llvm`.

This commit is contained in:
Nicholas Nethercote 2024-08-27 15:28:26 +10:00
parent e7f1922abd
commit 22cdd632f1
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
#![doc(rust_logo)]
#![feature(rustdoc_internals)]
#![warn(unreachable_pub)]
// tidy-alphabetical-end
// NOTE: This crate only exists to allow linking on mingw targets.