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

View File

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