Skip to content

Commit 223a7c1

Browse files
Rollup merge of #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 80784f0 + f25b081 commit 223a7c1

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

+1
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)