Skip to content

Commit 0d8d05c

Browse files
committed
Add warn(unreachable_pub) to rustc_feature.
1 parent df5fbf0 commit 0d8d05c

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

compiler/rustc_feature/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#![allow(internal_features)]
1616
#![doc(rust_logo)]
1717
#![feature(rustdoc_internals)]
18+
#![warn(unreachable_pub)]
1819
// tidy-alphabetical-end
1920

2021
mod accepted;

0 commit comments

Comments
 (0)