[−][src]Function rustc_mir::transform::simplify::remove_unused_definitions

pub(in transform::simplify) fn remove_unused_definitions<'a, 'tcx>(
    used_locals: &'a mut UsedLocals,
    body: &mut Body<'tcx>
)

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