Skip to content

Commit 7535549

Browse files
authored
Unrolled build for rust-lang#135411
Rollup merge of rust-lang#135411 - Urgau:unreach_pub-run-make, r=jieyouxu run_make_support: add `#![warn(unreachable_pub)]` This PR enables the [`unreachable_pub`](https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#unreachable-pub) lint as warn in the `run_make_support` crate. Related to rust-lang/compiler-team#773 r? ``@jieyouxu``
2 parents 48a426e + f25b081 commit 7535549

File tree

1 file changed

+1
-0
lines changed
  • src/tools/run-make-support/src

1 file changed

+1
-0
lines changed

src/tools/run-make-support/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// We want to control use declaration ordering and spacing (and preserve use group comments), so
77
// skip rustfmt on this file.
88
#![cfg_attr(rustfmt, rustfmt::skip)]
9+
#![warn(unreachable_pub)]
910

1011
mod command;
1112
mod macros;

0 commit comments

Comments
 (0)