fn local_projections_to_ty<'a, 'tcx>(
    cx: &'a Builder<'a, 'tcx>,
    local: Local,
    projection: &'a [PlaceElem<'tcx>]
) -> (Ty<'tcx>, Option<VariantIdx>)