rust/compiler/rustc_middle/src/hir
Scott McMurray 4abb455529 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
2023-03-30 09:23:40 -07:00
..
map RPITITs are DefKind::Opaque with new lowering strategy 2023-03-21 23:36:07 +00:00
mod.rs Use local key in providers 2023-03-21 15:38:51 +00:00
nested_filter.rs Reword comments and rename HIR visiting methods. 2022-07-07 16:01:43 +02:00
place.rs Update ty::VariantDef to use IndexVec<FieldIdx, FieldDef> 2023-03-30 09:23:40 -07:00