Add warn(unreachable_pub) to rustc_resolve.

This commit is contained in:
Nicholas Nethercote 2024-08-29 16:56:35 +10:00
parent afc58beebe
commit 7a71a914f6

View File

@ -21,6 +21,7 @@
#![feature(let_chains)]
#![feature(rustc_attrs)]
#![feature(rustdoc_internals)]
#![warn(unreachable_pub)]
// tidy-alphabetical-end
use std::cell::{Cell, RefCell};