rust/compiler/rustc_hir_analysis/src/coherence
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
..
builtin.rs Update ty::VariantDef to use IndexVec<FieldIdx, FieldDef> 2023-03-30 09:23:40 -07:00
inherent_impls.rs Don't split up TreatProjections and TreatParams anymore 2023-03-23 18:57:02 +00:00
inherent_impls_overlap.rs Copy ty::AssocItem all other the place 2023-02-15 20:22:41 +00:00
mod.rs Reduce output spam 2023-03-21 18:18:25 +01:00
orphan.rs emit the suspicious_auto_trait_impls for negative impls as well 2023-03-06 20:04:33 +08:00
unsafety.rs Add and use expect methods to hir. 2023-01-20 17:40:50 +00:00