fn prefix_slice_suffix<'a, 'tcx>(
place: &PlaceBuilder<'tcx>,
array_len: Option<u64>,
prefix: &'a [Pat<'tcx>],
opt_slice: &'a Option<Box<Pat<'tcx>>>,
suffix: &'a [Pat<'tcx>],
) -> Vec<(PlaceBuilder<'tcx>, &'a Pat<'tcx>)>Expand description
For an array or slice pattern’s subpatterns (prefix/slice/suffix), returns a list
of those subpatterns, each paired with a suitably-projected PlaceBuilder.