rust/compiler/rustc_borrowck/src
bors eb3e9c1f45 Auto merge of #109762 - scottmcm:variantdef-indexvec, r=WaffleLapkin
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-31 03:36:18 +00:00
..
constraints sccs info 2023-02-19 22:12:12 +00:00
diagnostics Update ty::VariantDef to use IndexVec<FieldIdx, FieldDef> 2023-03-30 09:23:40 -07:00
region_infer Auto merge of #108861 - b-naber:eager-nll-type-relating, r=lcnr 2023-03-23 01:26:59 +00:00
type_check Update ty::VariantDef to use IndexVec<FieldIdx, FieldDef> 2023-03-30 09:23:40 -07:00
borrow_set.rs Remove allow(potential_query_instability) from borrowck 2023-03-05 18:59:19 +00:00
borrowck_errors.rs Tweak E0597 2023-01-15 19:46:20 +00:00
constraint_generation.rs Remove type-traversal trait aliases 2023-02-22 17:04:58 +00:00
consumers.rs Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
dataflow.rs unequal → not equal 2023-03-15 23:55:48 +05:30
def_use.rs Document borrowck behaviour. 2023-03-09 17:45:13 +00:00
facts.rs Use fmt named parameters in rustc_borrowck 2023-01-06 19:34:45 -05:00
invalidation.rs Introduce a no-op PlaceMention statement for let _ =. 2023-03-09 17:45:13 +00:00
lib.rs Auto merge of #105587 - tgross35:once-cell-min, r=m-ou-se 2023-03-30 10:12:23 +00:00
location.rs A few small cleanups for newtype_index 2022-12-18 21:47:28 +01:00
member_constraints.rs Remove allow(potential_query_instability) from borrowck 2023-03-05 18:59:19 +00:00
nll.rs Remove VecMap 2023-03-17 20:49:28 +00:00
path_utils.rs Move mir::Fieldabi::FieldIdx 2023-03-28 22:22:37 -07:00
place_ext.rs Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
places_conflict.rs Removed various double spaces in compiler source comments. 2023-01-14 17:34:59 +01:00
prefixes.rs lint auto pass 2022-11-09 20:42:16 +08:00
renumber.rs Remove type-traversal trait aliases 2023-02-22 17:04:58 +00:00
session_diagnostics.rs errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00
universal_regions.rs Auto merge of #108735 - clubby789:borrowck-unstable, r=Nilstrieb 2023-03-07 07:01:57 +00:00
used_muts.rs Rollup merge of #108856 - Zeegomo:remove-drop-and-rep, r=tmiasko 2023-03-08 21:26:51 +01:00