diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-27 12:56:54 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-27 12:56:54 +1000 |
| commit | a510813e03966582ca9f1a06cb62e1d009ed0278 (patch) | |
| tree | de7dc3f168d45739c08b6650db5a8466e72a075d /compiler/rustc_fluent_macro | |
| parent | 0d8d05c07f8be4c90adf27141c0f64f76c318f64 (diff) | |
| download | rust-a510813e03966582ca9f1a06cb62e1d009ed0278.tar.gz rust-a510813e03966582ca9f1a06cb62e1d009ed0278.zip | |
Add `warn(unreachable_pub)` to `rustc_fluent_macro`.
Diffstat (limited to 'compiler/rustc_fluent_macro')
| -rw-r--r-- | compiler/rustc_fluent_macro/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_fluent_macro/src/lib.rs b/compiler/rustc_fluent_macro/src/lib.rs index 0a04e6743a8..6e5add24bcc 100644 --- a/compiler/rustc_fluent_macro/src/lib.rs +++ b/compiler/rustc_fluent_macro/src/lib.rs @@ -6,6 +6,7 @@ #![feature(proc_macro_diagnostic)] #![feature(proc_macro_span)] #![feature(rustdoc_internals)] +#![warn(unreachable_pub)] // tidy-alphabetical-end use proc_macro::TokenStream; |
