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
1 changed files with 1 additions and 0 deletions

View File

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