Function rustc_mir_transform::simplify::remove_unused_definitions
source · fn remove_unused_definitions(used_locals: &mut UsedLocals, body: &mut Body<'_>)
Expand description
Removes unused definitions. Updates the used locals to reflect the changes made.