about summary refs log tree commit diff
path: root/compiler/rustc_feature/src/lib.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-08-27 12:55:54 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-08-27 12:55:54 +1000
commit0d8d05c07f8be4c90adf27141c0f64f76c318f64 (patch)
tree666c74e8033be361c3834ce706d8e764ae1454e2 /compiler/rustc_feature/src/lib.rs
parentdf5fbf05a15a391192c40680af968733524d99d0 (diff)
downloadrust-0d8d05c07f8be4c90adf27141c0f64f76c318f64.tar.gz
rust-0d8d05c07f8be4c90adf27141c0f64f76c318f64.zip
Add `warn(unreachable_pub)` to `rustc_feature`.
Diffstat (limited to 'compiler/rustc_feature/src/lib.rs')
-rw-r--r--compiler/rustc_feature/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/lib.rs b/compiler/rustc_feature/src/lib.rs
index dcc1c3202ea..adaaba3cd23 100644
--- a/compiler/rustc_feature/src/lib.rs
+++ b/compiler/rustc_feature/src/lib.rs
@@ -15,6 +15,7 @@
 #![allow(internal_features)]
 #![doc(rust_logo)]
 #![feature(rustdoc_internals)]
+#![warn(unreachable_pub)]
 // tidy-alphabetical-end
 
 mod accepted;