diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-29 15:08:07 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-29 20:13:06 +1000 |
| commit | e3062147deca0399ba533bd967532cbf4f419abf (patch) | |
| tree | 15a43989e4af7322c7f907511b533b14eb6fcfb3 /compiler/rustc_monomorphize/src/lib.rs | |
| parent | 8a8dd3f33e8c79bc5c1f06009e87ff120900b5c0 (diff) | |
| download | rust-e3062147deca0399ba533bd967532cbf4f419abf.tar.gz rust-e3062147deca0399ba533bd967532cbf4f419abf.zip | |
Add `warn(unreachable_pub)` to `rustc_monomorphize`.
Diffstat (limited to 'compiler/rustc_monomorphize/src/lib.rs')
| -rw-r--r-- | compiler/rustc_monomorphize/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_monomorphize/src/lib.rs b/compiler/rustc_monomorphize/src/lib.rs index d6b0f9c4d28..b22e8e30465 100644 --- a/compiler/rustc_monomorphize/src/lib.rs +++ b/compiler/rustc_monomorphize/src/lib.rs @@ -1,5 +1,6 @@ // tidy-alphabetical-start #![feature(array_windows)] +#![warn(unreachable_pub)] // tidy-alphabetical-end use rustc_hir::lang_items::LangItem; |
