rust/compiler
bors a93bcdc307 Auto merge of #109849 - scottmcm:more-fieldidx-rebase, r=oli-obk
Use `FieldIdx` in various things related to aggregates

Shrank `AggregateKind` by 8 bytes on x64, since the active field of a union is tracked as an `Option<FieldIdx>` instead of `Option<usize>`.

Part 3/? of https://github.com/rust-lang/compiler-team/issues/606

[`IndexSlice`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_index/vec/struct.IndexVec.html#deref-methods-IndexSlice%3CI,+T%3E) was added in https://github.com/rust-lang/rust/pull/109787
2023-04-02 21:40:29 +00:00
..
rustc
rustc_abi
rustc_apfloat
rustc_arena
rustc_ast Auto merge of #109010 - compiler-errors:rtn, r=eholk 2023-03-31 18:04:12 +00:00
rustc_ast_lowering Auto merge of #109010 - compiler-errors:rtn, r=eholk 2023-03-31 18:04:12 +00:00
rustc_ast_passes
rustc_ast_pretty
rustc_attr
rustc_baked_icu_data
rustc_borrowck Use FieldIdx in various things related to aggregates 2023-04-01 20:32:50 -07:00
rustc_builtin_macros
rustc_codegen_cranelift Use FieldIdx in various things related to aggregates 2023-04-01 20:32:50 -07:00
rustc_codegen_gcc
rustc_codegen_llvm Rollup merge of #109846 - matthiaskrgr:clippy2023_04_III, r=Nilstrieb 2023-04-02 10:08:35 +02:00
rustc_codegen_ssa Use FieldIdx in various things related to aggregates 2023-04-01 20:32:50 -07:00
rustc_const_eval Auto merge of #109849 - scottmcm:more-fieldidx-rebase, r=oli-obk 2023-04-02 21:40:29 +00:00
rustc_data_structures Rollup merge of #109758 - nnethercote:parallel-cleanups, r=cjgillot 2023-03-30 12:42:21 -07:00
rustc_driver
rustc_driver_impl
rustc_error_codes
rustc_error_messages
rustc_errors a couple clippy::complexity fixes 2023-04-01 23:16:33 +02:00
rustc_expand Auto merge of #109824 - GuillaumeGomez:rollup-i5r4uts, r=GuillaumeGomez 2023-03-31 20:38:06 +00:00
rustc_feature Auto merge of #109824 - GuillaumeGomez:rollup-i5r4uts, r=GuillaumeGomez 2023-03-31 20:38:06 +00:00
rustc_fs_util
rustc_graphviz
rustc_hir Auto merge of #109010 - compiler-errors:rtn, r=eholk 2023-03-31 18:04:12 +00:00
rustc_hir_analysis fix clippy::iter_kv_map 2023-04-01 23:44:16 +02:00
rustc_hir_pretty
rustc_hir_typeck slighty simplify a few boolean expressions (clippy::nonminimal_bool) 2023-04-01 23:55:22 +02:00
rustc_incremental
rustc_index Use FieldIdx in various things related to aggregates 2023-04-01 20:32:50 -07:00
rustc_infer Rollup merge of #109846 - matthiaskrgr:clippy2023_04_III, r=Nilstrieb 2023-04-02 10:08:35 +02:00
rustc_interface Improve with_source_map. 2023-03-31 15:57:25 +11:00
rustc_lexer
rustc_lint
rustc_lint_defs
rustc_llvm
rustc_log
rustc_macros Don't emit the OS error in a note 2023-03-31 03:49:21 +02:00
rustc_metadata
rustc_middle Auto merge of #109849 - scottmcm:more-fieldidx-rebase, r=oli-obk 2023-04-02 21:40:29 +00:00
rustc_mir_build Auto merge of #109849 - scottmcm:more-fieldidx-rebase, r=oli-obk 2023-04-02 21:40:29 +00:00
rustc_mir_dataflow Auto merge of #109008 - clubby789:drop-elaborate-array, r=davidtwco 2023-04-02 12:17:52 +00:00
rustc_mir_transform Use FieldIdx in various things related to aggregates 2023-04-01 20:32:50 -07:00
rustc_monomorphize Rollup merge of #109846 - matthiaskrgr:clippy2023_04_III, r=Nilstrieb 2023-04-02 10:08:35 +02:00
rustc_parse
rustc_parse_format
rustc_passes slighty simplify a few boolean expressions (clippy::nonminimal_bool) 2023-04-01 23:55:22 +02:00
rustc_plugin_impl
rustc_privacy Auto merge of #109762 - scottmcm:variantdef-indexvec, r=WaffleLapkin 2023-03-31 03:36:18 +00:00
rustc_query_impl
rustc_query_system
rustc_resolve slighty simplify a few boolean expressions (clippy::nonminimal_bool) 2023-04-01 23:55:22 +02:00
rustc_serialize
rustc_session use and_then/flat_map for map().flatten() 2023-04-01 23:50:45 +02:00
rustc_smir
rustc_span a couple clippy::complexity fixes 2023-04-01 23:16:33 +02:00
rustc_symbol_mangling
rustc_target Auto merge of #109721 - QuinnPainter:armv4t-lld, r=petrochenkov 2023-04-01 01:55:16 +00:00
rustc_trait_selection Rollup merge of #109846 - matthiaskrgr:clippy2023_04_III, r=Nilstrieb 2023-04-02 10:08:35 +02:00
rustc_traits fix clippy::iter_kv_map 2023-04-01 23:44:16 +02:00
rustc_transmute
rustc_ty_utils Auto merge of #109762 - scottmcm:variantdef-indexvec, r=WaffleLapkin 2023-03-31 03:36:18 +00:00
rustc_type_ir