diff --git a/compiler/rustc_passes/src/dead.rs b/compiler/rustc_passes/src/dead.rs index b8a049fcc03..52ef881f998 100644 --- a/compiler/rustc_passes/src/dead.rs +++ b/compiler/rustc_passes/src/dead.rs @@ -914,12 +914,7 @@ fn check_mod_deathness(tcx: TyCtxt<'_>, module: LocalDefId) { dead_items.push(DeadItem { def_id, name, level }) } } - visitor.warn_multiple( - item.owner_id.def_id, - "used", - dead_items, - false, - ); + visitor.warn_multiple(item.owner_id.def_id, "used", dead_items, false); } if !live_symbols.contains(&item.owner_id.def_id) { @@ -974,12 +969,7 @@ fn check_mod_deathness(tcx: TyCtxt<'_>, module: LocalDefId) { } }) .collect(); - visitor.warn_multiple( - def_id, - "read", - dead_fields, - is_positional, - ) + visitor.warn_multiple(def_id, "read", dead_fields, is_positional); } visitor.warn_multiple(