rustc_mir_transform::simplify

Function remove_unused_definitions_helper

source
fn remove_unused_definitions_helper(
    used_locals: &mut UsedLocals,
    body: &mut Body<'_>,
)
Expand description

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