Function rustc_mir_transform::simplify::remove_unused_definitions[][src]

fn remove_unused_definitions<'a, 'tcx>(
    used_locals: &'a mut UsedLocals,
    body: &mut Body<'tcx>
)
Expand description

Removes unused definitions. Updates the used locals to reflect the changes made.