about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2025-01-12 16:12:34 +0100
committerUrgau <urgau@numericable.fr>2025-01-12 16:12:34 +0100
commitf25b0815a749508f58e2d16cb11e72d416fa4708 (patch)
treec8ccae2c02a465dad2299e96f055e95fa88dde20
parent336209eef13882bd1e211b24779584cb7ef911eb (diff)
downloadrust-f25b0815a749508f58e2d16cb11e72d416fa4708.tar.gz
rust-f25b0815a749508f58e2d16cb11e72d416fa4708.zip
run_make_support: add `#![warn(unreachable_pub)]`
-rw-r--r--src/tools/run-make-support/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/run-make-support/src/lib.rs b/src/tools/run-make-support/src/lib.rs
index 819bbc161e6..ffd4ca22a00 100644
--- a/src/tools/run-make-support/src/lib.rs
+++ b/src/tools/run-make-support/src/lib.rs
@@ -6,6 +6,7 @@
 // We want to control use declaration ordering and spacing (and preserve use group comments), so
 // skip rustfmt on this file.
 #![cfg_attr(rustfmt, rustfmt::skip)]
+#![warn(unreachable_pub)]
 
 mod command;
 mod macros;