Skip to content

Commit bffa224

Browse files
committed
Add warn(unreachable_pub) to rustc_hir.
1 parent fa18140 commit bffa224

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_hir/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#![feature(never_type)]
1111
#![feature(rustc_attrs)]
1212
#![feature(variant_count)]
13+
#![warn(unreachable_pub)]
1314
// tidy-alphabetical-end
1415

1516
extern crate self as rustc_hir;

0 commit comments

Comments
 (0)