Add warn(unreachable_pub)
to rustc_pattern_analysis
.
This commit is contained in:
parent
f77821203f
commit
653ee7bc3a
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue