rust/compiler
CastilloDel 755ca4b9aa Reduce the scope of allow(rustc::potential_query_instability) in rustc_trait_selection
Make InferCtxtExt use a FxIndexMap

This should be faster, because the map is only being used to iterate,
which is supposed to be faster with the IndexMap

Make the user_computed_preds use an IndexMap

It is being used mostly for iteration, so the change shouldn't result in
a perf hit

Make the RegionDeps fields use an IndexMap

This change could be a perf hit. Both `larger` and `smaller` are used
for iteration, but they are also used for insertions.

Make types_without_default_bounds use an IndexMap

It uses extend, but it also iterates and removes items. Not sure if
this will be a perf hit.

Make InferTtxt.reported_trait_errors use an IndexMap

This change brought a lot of other changes. The map seems to have been
mostly used for iteration, so the performance shouldn't suffer.

Add FIXME to change ProvisionalEvaluationCache.map to use an IndexMap

Right now this results in a perf hit. IndexMap doesn't have
the `drain_filter` API, so in `on_completion` we now need to iterate two
times over the map.
2022-11-08 19:41:48 +01:00
..
rustc
rustc_apfloat
rustc_arena
rustc_ast
rustc_ast_lowering
rustc_ast_passes
rustc_ast_pretty
rustc_attr
rustc_borrowck Rollup merge of #103865 - compiler-errors:fallback-has-occurred-tracking, r=eholk 2022-11-08 11:23:51 +05:30
rustc_builtin_macros
rustc_codegen_cranelift
rustc_codegen_gcc Add type_array to BaseTypeMethods 2022-11-06 14:18:36 +05:30
rustc_codegen_llvm Rollup merge of #104066 - TimNN:riscv-layout, r=nikic 2022-11-07 09:46:28 +09:00
rustc_codegen_ssa Rollup merge of #104045 - Ayush1325:type_array, r=nikic 2022-11-07 09:46:26 +09:00
rustc_const_eval Rollup merge of #103865 - compiler-errors:fallback-has-occurred-tracking, r=eholk 2022-11-08 11:23:51 +05:30
rustc_data_structures
rustc_driver
rustc_error_codes Rollup merge of #103757 - ffmancera:ff/clarify_E0207, r=jackh726 2022-11-07 18:35:23 +05:30
rustc_error_messages Rollup merge of #103012 - chenyukang:fix-102806, r=davidtwco,compiler-errors 2022-11-06 08:35:26 +01:00
rustc_errors Rollup merge of #103792 - JhonnyBillM:migrate-codegen-ssa-to-diagnostics-structs-pt2, r=davidtwco 2022-11-04 18:52:27 +01:00
rustc_expand
rustc_feature Auto merge of #102458 - JohnTitor:stabilize-instruction-set, r=oli-obk 2022-11-05 20:39:06 +00:00
rustc_fs_util
rustc_graphviz
rustc_hir Some tracing and comment cleanups 2022-11-04 17:10:07 +00:00
rustc_hir_analysis Reduce the scope of allow(rustc::potential_query_instability) in rustc_trait_selection 2022-11-08 19:41:48 +01:00
rustc_hir_pretty
rustc_hir_typeck Rollup merge of #104094 - lcnr:on_unimplemented-move, r=wesleywiser 2022-11-08 11:23:53 +05:30
rustc_incremental
rustc_index
rustc_infer Reduce the scope of allow(rustc::potential_query_instability) in rustc_trait_selection 2022-11-08 19:41:48 +01:00
rustc_interface Simplify code 2022-11-05 17:54:06 +01:00
rustc_lexer Make underscore_literal_suffix a hard error. 2022-11-07 10:00:36 +11:00
rustc_lint Rollup merge of #103868 - compiler-errors:trait-engine-less, r=jackh726 2022-11-05 00:02:04 +01:00
rustc_lint_defs
rustc_llvm LLVM 16: Switch to using MemoryEffects 2022-11-04 17:58:16 +00:00
rustc_log
rustc_macros Modify comment syntax error 2022-11-07 14:33:33 +08:00
rustc_metadata
rustc_middle Rollup merge of #104059 - Rejyr:rustc_middle-lint-typo, r=petrochenkov 2022-11-07 09:46:27 +09:00
rustc_mir_build Rollup merge of #103984 - V0ldek:103974-refactor-mk_const, r=BoxyUwU 2022-11-05 00:02:06 +01:00
rustc_mir_dataflow Some tracing and comment cleanups 2022-11-04 17:10:07 +00:00
rustc_mir_transform Auto merge of #103975 - oli-obk:tracing, r=jackh726 2022-11-06 02:21:34 +00:00
rustc_monomorphize
rustc_parse Rollup merge of #103986 - compiler-errors:oh-no-bad-block-should-not-have-label, r=lcnr 2022-11-07 18:35:24 +05:30
rustc_parse_format
rustc_passes Auto merge of #103720 - crlf0710:most_translation_attr, r=compiler-errors 2022-11-06 11:23:24 +00:00
rustc_plugin_impl
rustc_privacy
rustc_query_impl Remove one lifetime from QueryKeyStringBuilder 2022-11-06 13:10:35 +01:00
rustc_query_system Rename Ctxt and CTX to Tcx and Qcx 2022-11-06 13:25:06 +01:00
rustc_resolve Rollup merge of #103927 - fee1-dead-contrib:E0425-no-typo-when-pattern-matching, r=cjgillot 2022-11-05 18:06:06 +01:00
rustc_save_analysis
rustc_serialize
rustc_session Rollup merge of #103660 - ozkanonur:master, r=jyn514 2022-11-05 11:31:28 +05:30
rustc_smir
rustc_span
rustc_symbol_mangling Refactor tcx mk_const parameters. 2022-11-04 20:33:32 +00:00
rustc_target Rollup merge of #104067 - jeremyd2019:patch-1, r=davidtwco 2022-11-08 11:23:53 +05:30
rustc_trait_selection Reduce the scope of allow(rustc::potential_query_instability) in rustc_trait_selection 2022-11-08 19:41:48 +01:00
rustc_traits Refactor tcx mk_const parameters. 2022-11-04 20:33:32 +00:00
rustc_transmute Auto merge of #103831 - chenyukang:yukang/fix-103751-ice, r=nagisa 2022-11-05 13:48:30 +00:00
rustc_ty_utils Refactor tcx mk_const parameters. 2022-11-04 20:33:32 +00:00
rustc_type_ir