Add `warn(unreachable_pub)` to `rustc_hir_pretty`.

This commit is contained in:
Nicholas Nethercote 2024-08-27 13:25:40 +10:00
parent 5acf4e7b4b
commit 3aae994ca2
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@
// tidy-alphabetical-start
#![recursion_limit = "256"]
#![warn(unreachable_pub)]
// tidy-alphabetical-end
use std::cell::Cell;