Add warn(unreachable_pub) to rustc_pattern_analysis.

This commit is contained in:
Nicholas Nethercote 2024-08-29 16:24:38 +10:00
parent f77821203f
commit 653ee7bc3a

View File

@ -6,6 +6,7 @@
#![allow(rustc::diagnostic_outside_of_impl)] #![allow(rustc::diagnostic_outside_of_impl)]
#![allow(rustc::untranslatable_diagnostic)] #![allow(rustc::untranslatable_diagnostic)]
#![cfg_attr(feature = "rustc", feature(let_chains))] #![cfg_attr(feature = "rustc", feature(let_chains))]
#![warn(unreachable_pub)]
// tidy-alphabetical-end // tidy-alphabetical-end
pub mod constructor; pub mod constructor;