about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-08-27 15:11:54 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-08-27 15:11:54 +1000
commita941a4be77dbf2953d23bf89947d58abfca0a824 (patch)
tree82f5c7462cf82375b307e4a12c2d85f538f12a6a /compiler
parent688792715bb1e3c420e896b62ee3e825dce4c174 (diff)
downloadrust-a941a4be77dbf2953d23bf89947d58abfca0a824.tar.gz
rust-a941a4be77dbf2953d23bf89947d58abfca0a824.zip
Add `warn(unreachable_pub)` to `rustc_interface`.
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_interface/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/lib.rs b/compiler/rustc_interface/src/lib.rs
index 3492df69b8d..3b6c2acaf30 100644
--- a/compiler/rustc_interface/src/lib.rs
+++ b/compiler/rustc_interface/src/lib.rs
@@ -2,6 +2,7 @@
 #![feature(decl_macro)]
 #![feature(let_chains)]
 #![feature(try_blocks)]
+#![warn(unreachable_pub)]
 // tidy-alphabetical-end
 
 mod callbacks;