Add warn(unreachable_pub)
to rustc_monomorphize
.
This commit is contained in:
parent
8a8dd3f33e
commit
e3062147de
5 changed files with 22 additions and 17 deletions
|
@ -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| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue