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_parse_format/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_parse_format/src')
| -rw-r--r-- | compiler/rustc_parse_format/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_parse_format/src/lib.rs b/compiler/rustc_parse_format/src/lib.rs index cb758150789..51084ef4441 100644 --- a/compiler/rustc_parse_format/src/lib.rs +++ b/compiler/rustc_parse_format/src/lib.rs @@ -13,6 +13,7 @@ html_playground_url = "https://play.rust-lang.org/", test(attr(deny(warnings))) )] +#![warn(unreachable_pub)] // tidy-alphabetical-end use std::{iter, str, string}; |
