diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-29 09:01:17 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-29 20:13:06 +1000 |
| commit | 4b92682530769237564a440c1968feb15fc89709 (patch) | |
| tree | c9935801533089bb03fccd70965b8d6db16df529 /compiler/rustc_macros/src/lib.rs | |
| parent | 6cf068db566de080dfa7ed24a216ea3aed2b98ce (diff) | |
| download | rust-4b92682530769237564a440c1968feb15fc89709.tar.gz rust-4b92682530769237564a440c1968feb15fc89709.zip | |
Add `warn(unreachable_pub)` to `rustc_macros`.
Diffstat (limited to 'compiler/rustc_macros/src/lib.rs')
| -rw-r--r-- | compiler/rustc_macros/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_macros/src/lib.rs b/compiler/rustc_macros/src/lib.rs index 929bc2df6f6..f46c795b956 100644 --- a/compiler/rustc_macros/src/lib.rs +++ b/compiler/rustc_macros/src/lib.rs @@ -6,6 +6,7 @@ #![feature(proc_macro_diagnostic)] #![feature(proc_macro_span)] #![feature(proc_macro_tracked_env)] +#![warn(unreachable_pub)] // tidy-alphabetical-end use proc_macro::TokenStream; |
