diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-08-29 16:21:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-29 16:21:49 +0200 |
| commit | 7e23a44495da8020c7336e8f9248138ab9ba1042 (patch) | |
| tree | f36ec6e8116a3bd119d652f04b9f6f0fb26faa7a /compiler/rustc_pattern_analysis/src | |
| parent | 7dc2caba7b82034ba97bde68d4ffa39b7ab4fa92 (diff) | |
| parent | 7a71a914f62045989d85cb8eb0e6bde16ffe4f3e (diff) | |
| download | rust-7e23a44495da8020c7336e8f9248138ab9ba1042.tar.gz rust-7e23a44495da8020c7336e8f9248138ab9ba1042.zip | |
Rollup merge of #129732 - nnethercote:unreachable_pub-3, r=Urgau
Add `unreachable_pub`, round 3 A follow-up to #129648. r? `@Urgau`
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
| -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; |
