1
Fork 0

Add warn(unreachable_pub) to rustc_monomorphize.

This commit is contained in:
Nicholas Nethercote 2024-08-29 15:08:07 +10:00
parent 8a8dd3f33e
commit e3062147de
5 changed files with 22 additions and 17 deletions

View file

@ -1300,7 +1300,7 @@ fn dump_mono_items_stats<'tcx>(
Ok(())
}
pub fn provide(providers: &mut Providers) {
pub(crate) fn provide(providers: &mut Providers) {
providers.collect_and_partition_mono_items = collect_and_partition_mono_items;
providers.is_codegened_item = |tcx, def_id| {