about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2023-03-28 23:32:25 -0700
committerScott McMurray <scottmcm@users.noreply.github.com>2023-03-30 09:23:40 -0700
commit69b57c2db5e8718525aa1cd5b954708387a5e594 (patch)
tree55819351082c80a5161db5a20651126a4fe8e824 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parente88c4052c3aa2438d840a24420eaa64d40c9cae8 (diff)
downloadrust-69b57c2db5e8718525aa1cd5b954708387a5e594.tar.gz
rust-69b57c2db5e8718525aa1cd5b954708387a5e594.zip
Update `ty::VariantDef` to use `IndexVec<FieldIdx, FieldDef>`
And while doing the updates for that, also uses `FieldIdx` in `ProjectionKind::Field` and `TypeckResults::field_indices`.

There's more places that could use it (like `rustc_const_eval` and `LayoutS`), but I tried to keep this PR from exploding to *even more* places.

Part 2/? of https://github.com/rust-lang/compiler-team/issues/606
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions