diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-29 16:39:19 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-29 20:18:44 +1000 |
| commit | 2eea2d2cf105255b1ce7bd0eeb0d326a06adefc8 (patch) | |
| tree | 7a8a91ef68c3da088efc75d2023999df7482e4dd /compiler/rustc_query_impl/src/lib.rs | |
| parent | 71bffef4f9d1f8d34a586031532d6629b0bb33dd (diff) | |
| download | rust-2eea2d2cf105255b1ce7bd0eeb0d326a06adefc8.tar.gz rust-2eea2d2cf105255b1ce7bd0eeb0d326a06adefc8.zip | |
Add `warn(unreachable_pub)` to `rustc_query_impl`.
Diffstat (limited to 'compiler/rustc_query_impl/src/lib.rs')
| -rw-r--r-- | compiler/rustc_query_impl/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_query_impl/src/lib.rs b/compiler/rustc_query_impl/src/lib.rs index f4a4c602f69..a6c863a6b7b 100644 --- a/compiler/rustc_query_impl/src/lib.rs +++ b/compiler/rustc_query_impl/src/lib.rs @@ -8,6 +8,7 @@ #![feature(min_specialization)] #![feature(rustc_attrs)] #![feature(rustdoc_internals)] +#![warn(unreachable_pub)] // tidy-alphabetical-end use field_offset::offset_of; |
