diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-08-27 18:59:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-27 18:59:29 +0200 |
| commit | 489eb230ddbcdf4ccd5b00db165a8844fac9c047 (patch) | |
| tree | b397a8e2cb3db9cf6392c7c28c0f424768c45f2f /compiler/rustc_llvm/src | |
| parent | 02491259c2f54b026ac6be939de6b67c8c73c319 (diff) | |
| parent | 22cdd632f1a98830ead8f03cf7f227cc72d814a8 (diff) | |
| download | rust-489eb230ddbcdf4ccd5b00db165a8844fac9c047.tar.gz rust-489eb230ddbcdf4ccd5b00db165a8844fac9c047.zip | |
Rollup merge of #129648 - nnethercote:unreachable_pub-2, r=Urgau
More `unreachable_pub` Add `unreachable_pub` checking to some more compiler crates. A follow-up to #126013. r? ``@Urgau``
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 96e370c5b26..3532d50c64e 100644 --- a/compiler/rustc_llvm/src/lib.rs +++ b/compiler/rustc_llvm/src/lib.rs @@ -4,6 +4,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. |
