Skip to content

Commit 46fe09f

Browse files
committed
Add warn(unreachable_pub) to rustc_index.
1 parent 37becf7 commit 46fe09f

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

compiler/rustc_index/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#![cfg_attr(feature = "nightly", allow(internal_features))]
44
#![cfg_attr(feature = "nightly", feature(extend_one, new_uninit, step_trait, test))]
55
#![cfg_attr(feature = "nightly", feature(new_zeroed_alloc))]
6+
#![warn(unreachable_pub)]
67
// tidy-alphabetical-end
78

89
pub mod bit_set;

0 commit comments

Comments
 (0)