Skip to content

Commit 653ee7b

Browse files
committed
Add warn(unreachable_pub) to rustc_pattern_analysis.
1 parent f778212 commit 653ee7b

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_pattern_analysis/src

1 file changed

+1
-0
lines changed

compiler/rustc_pattern_analysis/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#![allow(rustc::diagnostic_outside_of_impl)]
77
#![allow(rustc::untranslatable_diagnostic)]
88
#![cfg_attr(feature = "rustc", feature(let_chains))]
9+
#![warn(unreachable_pub)]
910
// tidy-alphabetical-end
1011

1112
pub mod constructor;

0 commit comments

Comments
 (0)