Skip to content

Commit d607cfb

Browse files
committed
Add warn(unreachable_pub) to rustc_error_codes.
1 parent e81fad2 commit d607cfb

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

compiler/rustc_error_codes/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#![deny(rustdoc::invalid_codeblock_attributes)]
77
#![doc(rust_logo)]
88
#![feature(rustdoc_internals)]
9+
#![warn(unreachable_pub)]
910
// tidy-alphabetical-end
1011

1112
// This higher-order macro defines the error codes that are in use. It is used

0 commit comments

Comments
 (0)