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

pub(in transform::simplify) fn make_local_map<V>(
    local_decls: &mut IndexVec<Local, V>,
    used_locals: &UsedLocals
) -> IndexVec<Local, Option<Local>>

Construct the mapping while swapping out unused stuff out from the vec.