Add warn(unreachable_pub) to rustc_macros.

This commit is contained in:
Nicholas Nethercote 2024-08-29 09:01:17 +10:00
parent 6cf068db56
commit 4b92682530
8 changed files with 17 additions and 16 deletions

View file

@ -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;