From a510813e03966582ca9f1a06cb62e1d009ed0278 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Tue, 27 Aug 2024 12:56:54 +1000 Subject: [PATCH] Add `warn(unreachable_pub)` to `rustc_fluent_macro`. --- compiler/rustc_fluent_macro/src/lib.rs | 1 + 1 file changed, 1 insertion(+) 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;