Module rustc_mir_transform::normalize_array_len
source · Expand description
This pass eliminates casting of arrays into slices when their length
is taken using .len()
method. Handy to preserve information in MIR for const prop