diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-27 15:28:26 +1000 | 
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-27 15:28:26 +1000 | 
| commit | 22cdd632f1a98830ead8f03cf7f227cc72d814a8 (patch) | |
| tree | 4fa4208bbc67bbc63c35f7b277fc63b4f8634150 /compiler/rustc_llvm/src | |
| parent | e7f1922abdca0a155effacb26d9d16dd283a2062 (diff) | |
| download | rust-22cdd632f1a98830ead8f03cf7f227cc72d814a8.tar.gz rust-22cdd632f1a98830ead8f03cf7f227cc72d814a8.zip | |
Add `warn(unreachable_pub)` to `rustc_llvm`.
Diffstat (limited to 'compiler/rustc_llvm/src')
| -rw-r--r-- | compiler/rustc_llvm/src/lib.rs | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/compiler/rustc_llvm/src/lib.rs b/compiler/rustc_llvm/src/lib.rs index 939e5e4dbd4..29442655eb0 100644 --- a/compiler/rustc_llvm/src/lib.rs +++ b/compiler/rustc_llvm/src/lib.rs @@ -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. | 
