diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-29 16:24:38 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-29 20:18:44 +1000 |
| commit | 653ee7bc3aa0a28eabb796cbe14d185b49fe3e6d (patch) | |
| tree | bbf5240c053f0998a15a776946420e1bcdbef3cf /compiler/rustc_pattern_analysis | |
| parent | f77821203f73f3f71a4e92afddf17c5da8e89d9b (diff) | |
| download | rust-653ee7bc3aa0a28eabb796cbe14d185b49fe3e6d.tar.gz rust-653ee7bc3aa0a28eabb796cbe14d185b49fe3e6d.zip | |
Add `warn(unreachable_pub)` to `rustc_pattern_analysis`.
Diffstat (limited to 'compiler/rustc_pattern_analysis')
| -rw-r--r-- | compiler/rustc_pattern_analysis/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_pattern_analysis/src/lib.rs b/compiler/rustc_pattern_analysis/src/lib.rs index 6c9c848bb10..fec44d5af55 100644 --- a/compiler/rustc_pattern_analysis/src/lib.rs +++ b/compiler/rustc_pattern_analysis/src/lib.rs @@ -6,6 +6,7 @@ #![allow(rustc::diagnostic_outside_of_impl)] #![allow(rustc::untranslatable_diagnostic)] #![cfg_attr(feature = "rustc", feature(let_chains))] +#![warn(unreachable_pub)] // tidy-alphabetical-end pub mod constructor; |
