about summary refs log tree commit diff
path: root/compiler/rustc_fluent_macro
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-08-27 12:56:54 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-08-27 12:56:54 +1000
commita510813e03966582ca9f1a06cb62e1d009ed0278 (patch)
treede7dc3f168d45739c08b6650db5a8466e72a075d /compiler/rustc_fluent_macro
parent0d8d05c07f8be4c90adf27141c0f64f76c318f64 (diff)
downloadrust-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.rs1
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;