Add warn(unreachable_pub)
to rustc_pattern_analysis
.
This commit is contained in:
parent
f77821203f
commit
653ee7bc3a
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user