diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-27 15:11:54 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-27 15:11:54 +1000 |
| commit | a941a4be77dbf2953d23bf89947d58abfca0a824 (patch) | |
| tree | 82f5c7462cf82375b307e4a12c2d85f538f12a6a /compiler/rustc_interface/src/lib.rs | |
| parent | 688792715bb1e3c420e896b62ee3e825dce4c174 (diff) | |
| download | rust-a941a4be77dbf2953d23bf89947d58abfca0a824.tar.gz rust-a941a4be77dbf2953d23bf89947d58abfca0a824.zip | |
Add `warn(unreachable_pub)` to `rustc_interface`.
Diffstat (limited to 'compiler/rustc_interface/src/lib.rs')
| -rw-r--r-- | compiler/rustc_interface/src/lib.rs | 1 |
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; |
