Skip to content

Commit

Permalink
Add warn(unreachable_pub) to rustc_hir_pretty.
Browse files Browse the repository at this point in the history
  • Loading branch information
nnethercote committed Aug 27, 2024
1 parent 5acf4e7 commit 3aae994
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_hir_pretty/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

// tidy-alphabetical-start
#![recursion_limit = "256"]
#![warn(unreachable_pub)]
// tidy-alphabetical-end

use std::cell::Cell;
Expand Down

0 comments on commit 3aae994

Please sign in to comment.