Skip to content

Commit 22cdd63

Browse files
committed
Add warn(unreachable_pub) to rustc_llvm.
1 parent e7f1922 commit 22cdd63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_llvm/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
44
#![doc(rust_logo)]
55
#![feature(rustdoc_internals)]
6+
#![warn(unreachable_pub)]
67
// tidy-alphabetical-end
78

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

0 commit comments

Comments
 (0)