Skip to content

Commit

Permalink
Add warn(unreachable_pub) to rustc_parse_format.
Browse files Browse the repository at this point in the history
  • Loading branch information
nnethercote committed Aug 29, 2024
1 parent cac04a1 commit 76bd802
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_parse_format/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit 76bd802

Please sign in to comment.