Skip to content

Commit

Permalink
Add warn(unreachable_pub) to rustc_llvm.
Browse files Browse the repository at this point in the history
  • Loading branch information
nnethercote committed Aug 27, 2024
1 parent e7f1922 commit 22cdd63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_llvm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
#![doc(rust_logo)]
#![feature(rustdoc_internals)]
#![warn(unreachable_pub)]
// tidy-alphabetical-end

// NOTE: This crate only exists to allow linking on mingw targets.
Expand Down

0 comments on commit 22cdd63

Please sign in to comment.