Function rustc_mir_transform::dest_prop::locals_used_as_array_index
source · Expand description
PlaceElem::Index
only stores a Local
, so we can’t replace that with a full Place
.
Collect locals used as indices so we don’t generate candidates that are impossible to apply later.