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.