Add warn(unreachable_pub) to rustc_error_messages.

This commit is contained in:
Nicholas Nethercote 2024-08-27 11:52:08 +10:00
parent d607cfb336
commit 2b5621280c

View File

@ -4,6 +4,7 @@
#![feature(rustc_attrs)]
#![feature(rustdoc_internals)]
#![feature(type_alias_impl_trait)]
#![warn(unreachable_pub)]
// tidy-alphabetical-end
use std::borrow::Cow;