rust/compiler
Nilstrieb 41a9cbeb64 Shrink SelectionError a lot
`SelectionError` used to be 80 bytes (on 64 bit). That's quite big.
Especially because the selection cache contained `Result<_,
SelectionError>. The Ok type is only 32 bytes, so the 80 bytes
significantly inflate the size of the cache.

Most variants of the `SelectionError` seem to be hard errors, only
`Unimplemented` shows up in practice (for cranelift-codegen, it occupies
23.4% of all cache entries). We can just box away the biggest variant,
`OutputTypeParameterMismatch`, to get the size down to 16 bytes, well
within the size of the Ok type inside the cache.
2023-05-09 07:10:47 +00:00
..
rustc
rustc_abi Reorder to keep duplicate checks in sync. 2023-05-05 16:30:32 -07:00
rustc_apfloat
rustc_arena
rustc_ast
rustc_ast_lowering Auto merge of #106621 - ozkanonur:enable-elided-lifetimes-for-doctests, r=Mark-Simulacrum 2023-05-08 04:50:28 +00:00
rustc_ast_passes
rustc_ast_pretty
rustc_attr
rustc_baked_icu_data
rustc_borrowck Rollup merge of #110827 - compiler-errors:issue-110761-followup, r=cjgillot 2023-05-08 11:39:20 +05:30
rustc_builtin_macros Auto merge of #106621 - ozkanonur:enable-elided-lifetimes-for-doctests, r=Mark-Simulacrum 2023-05-08 04:50:28 +00:00
rustc_codegen_cranelift use EarlyBinder in tcx.(try_)subst_mir_and_normalize_erasing_regions 2023-05-06 22:32:39 -06:00
rustc_codegen_gcc Add todo for filter landing pad 2023-05-07 12:38:47 +01:00
rustc_codegen_llvm Rollup merge of #104070 - nbdd0121:unwind, r=Amanieu 2023-05-08 09:30:21 -07:00
rustc_codegen_ssa Rollup merge of #104070 - nbdd0121:unwind, r=Amanieu 2023-05-08 09:30:21 -07:00
rustc_const_eval use EarlyBinder in tcx.(try_)subst_mir_and_normalize_erasing_regions 2023-05-06 22:32:39 -06:00
rustc_data_structures Use smaller ints for bitflags 2023-05-07 18:24:46 +02:00
rustc_driver
rustc_driver_impl Rollup merge of #111004 - clubby789:migrate-mir-transform, r=oli-obk 2023-05-08 09:30:22 -07:00
rustc_error_codes Update compiler/rustc_error_codes/src/error_codes/E0726.md 2023-05-06 19:39:08 -04:00
rustc_error_messages
rustc_errors Rollup merge of #111004 - clubby789:migrate-mir-transform, r=oli-obk 2023-05-08 09:30:22 -07:00
rustc_expand
rustc_feature Rollup merge of #109677 - dpaoliello:rawdylib, r=michaelwoerister,wesleywiser 2023-05-06 09:09:30 +09:00
rustc_fluent_macro
rustc_fs_util
rustc_graphviz enable rust_2018_idioms for doctests 2023-05-07 00:12:29 +03:00
rustc_hir
rustc_hir_analysis Rollup merge of #109410 - fmease:iat-alias-kind-inherent, r=compiler-errors 2023-05-08 09:30:21 -07:00
rustc_hir_pretty
rustc_hir_typeck Shrink SelectionError a lot 2023-05-09 07:10:47 +00:00
rustc_incremental
rustc_index
rustc_infer Rollup merge of #109410 - fmease:iat-alias-kind-inherent, r=compiler-errors 2023-05-08 09:30:21 -07:00
rustc_interface Auto merge of #109421 - mhammerly:extern-force-option, r=petrochenkov 2023-05-06 11:24:37 +00:00
rustc_lexer
rustc_lint Rollup merge of #109410 - fmease:iat-alias-kind-inherent, r=compiler-errors 2023-05-08 09:30:21 -07:00
rustc_lint_defs Auto merge of #106621 - ozkanonur:enable-elided-lifetimes-for-doctests, r=Mark-Simulacrum 2023-05-08 04:50:28 +00:00
rustc_llvm Rollup merge of #111274 - cuviper:print-target-cpus, r=Mark-Simulacrum 2023-05-06 23:32:03 +02:00
rustc_log
rustc_macros Make spans a bit better 2023-05-08 03:34:46 +00:00
rustc_metadata Auto merge of #109421 - mhammerly:extern-force-option, r=petrochenkov 2023-05-06 11:24:37 +00:00
rustc_middle Shrink SelectionError a lot 2023-05-09 07:10:47 +00:00
rustc_mir_build
rustc_mir_dataflow
rustc_mir_transform Auto merge of #111358 - compiler-errors:rollup-yv27vrp, r=compiler-errors 2023-05-08 21:00:50 +00:00
rustc_monomorphize use EarlyBinder in tcx.(try_)subst_mir_and_normalize_erasing_regions 2023-05-06 22:32:39 -06:00
rustc_parse make it more accurate by parsing ty 2023-05-08 15:07:36 +08:00
rustc_parse_format
rustc_passes
rustc_plugin_impl
rustc_privacy Rollup merge of #109410 - fmease:iat-alias-kind-inherent, r=compiler-errors 2023-05-08 09:30:21 -07:00
rustc_query_impl
rustc_query_system
rustc_resolve
rustc_serialize
rustc_session Rollup merge of #105354 - BlackHoleFox:apple-deployment-printer, r=oli-obk 2023-05-08 19:41:48 +09:00
rustc_smir
rustc_span Rollup merge of #111279 - compiler-errors:core-item-resolve, r=cjgillot 2023-05-06 13:30:06 +02:00
rustc_symbol_mangling
rustc_target Rollup merge of #111332 - loongarch-rs:inline-asm, r=Amanieu 2023-05-08 19:41:51 +09:00
rustc_trait_selection Shrink SelectionError a lot 2023-05-09 07:10:47 +00:00
rustc_traits
rustc_transmute
rustc_ty_utils Fix miscompilation when adding default method to Future 2023-05-08 17:06:48 +02:00
rustc_type_ir