diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-27 11:47:25 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-27 11:47:25 +1000 |
| commit | e81fad2b4d0c907445c6df76adea65602134fda8 (patch) | |
| tree | 1b73ad35232444820a7fdb3fa2e07a0c4f188129 /compiler/rustc_driver_impl/src/lib.rs | |
| parent | bf662eb80838008acabc307dd64d84935ce3a20d (diff) | |
| download | rust-e81fad2b4d0c907445c6df76adea65602134fda8.tar.gz rust-e81fad2b4d0c907445c6df76adea65602134fda8.zip | |
Add `warn(unreachable_pub)` to `rustc_driver_impl`.
Diffstat (limited to 'compiler/rustc_driver_impl/src/lib.rs')
| -rw-r--r-- | compiler/rustc_driver_impl/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs index 2b7dc040f64..970ac562749 100644 --- a/compiler/rustc_driver_impl/src/lib.rs +++ b/compiler/rustc_driver_impl/src/lib.rs @@ -15,6 +15,7 @@ #![feature(panic_update_hook)] #![feature(result_flattening)] #![feature(rustdoc_internals)] +#![warn(unreachable_pub)] // tidy-alphabetical-end use std::cmp::max; |
