Add warn(unreachable_pub) to rustc_symbol_mangling.

This commit is contained in:
Nicholas Nethercote 2024-08-30 13:21:53 +10:00
parent b0f22ff98f
commit 89deb3c742

View File

@ -93,6 +93,7 @@
#![doc(rust_logo)] #![doc(rust_logo)]
#![feature(let_chains)] #![feature(let_chains)]
#![feature(rustdoc_internals)] #![feature(rustdoc_internals)]
#![warn(unreachable_pub)]
// tidy-alphabetical-end // tidy-alphabetical-end
use rustc_hir::def::DefKind; use rustc_hir::def::DefKind;