Skip to content

Commit

Permalink
Add warn(unreachable_pub) to rustc_index.
Browse files Browse the repository at this point in the history
  • Loading branch information
nnethercote committed Aug 27, 2024
1 parent 37becf7 commit 46fe09f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_index/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#![cfg_attr(feature = "nightly", allow(internal_features))]
#![cfg_attr(feature = "nightly", feature(extend_one, new_uninit, step_trait, test))]
#![cfg_attr(feature = "nightly", feature(new_zeroed_alloc))]
#![warn(unreachable_pub)]
// tidy-alphabetical-end

pub mod bit_set;
Expand Down

0 comments on commit 46fe09f

Please sign in to comment.