Skip to content

Commit 3aae994

Browse files
committed
Add warn(unreachable_pub) to rustc_hir_pretty.
1 parent 5acf4e7 commit 3aae994

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_hir_pretty/src

1 file changed

+1
-0
lines changed

compiler/rustc_hir_pretty/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
44
// tidy-alphabetical-start
55
#![recursion_limit = "256"]
6+
#![warn(unreachable_pub)]
67
// tidy-alphabetical-end
78

89
use std::cell::Cell;

0 commit comments

Comments
 (0)