rust/compiler
bors a924ef73bc Auto merge of #94108 - compiler-errors:just-confirmation-normalization, r=jackh726
Normalize obligation and expected trait_refs in confirm_poly_trait_refs

Consolidate normalization the obligation and expected trait refs in `confirm_poly_trait_refs`. Also, _always_ normalize these trait refs -- we were already normalizing the obligation trait ref when confirming closure and generator candidates, but this does it for fn pointer confirmation as well.

This presumably does more work in the case that the obligation's trait ref is already normalized, but we can see from the perf runs in #94070, it actually (paradoxically, perhaps) improves performance when paired with logic that normalizes projections in fulfillment loop.
2022-02-21 10:06:24 +00:00
..
rustc
rustc_apfloat
rustc_arena
rustc_ast
rustc_ast_lowering Rollup merge of #94146 - est31:let_else, r=cjgillot 2022-02-20 00:37:34 +01:00
rustc_ast_passes Rollup merge of #94146 - est31:let_else, r=cjgillot 2022-02-20 00:37:34 +01:00
rustc_ast_pretty
rustc_attr Rollup merge of #94146 - est31:let_else, r=cjgillot 2022-02-20 00:37:34 +01:00
rustc_borrowck Rollup merge of #94146 - est31:let_else, r=cjgillot 2022-02-20 00:37:34 +01:00
rustc_builtin_macros Rollup merge of #94146 - est31:let_else, r=cjgillot 2022-02-20 00:37:34 +01:00
rustc_codegen_cranelift
rustc_codegen_gcc
rustc_codegen_llvm Auto merge of #93678 - steffahn:better_unsafe_diagnostics, r=nagisa 2022-02-20 21:15:11 +00:00
rustc_codegen_ssa Auto merge of #94062 - Mark-Simulacrum:drop-print-cfg, r=oli-obk 2022-02-20 18:12:59 +00:00
rustc_const_eval Auto merge of #94062 - Mark-Simulacrum:drop-print-cfg, r=oli-obk 2022-02-20 18:12:59 +00:00
rustc_data_structures Auto merge of #93934 - rusticstuff:inline_ensure_sufficient_stack, r=estebank 2022-02-20 15:10:19 +00:00
rustc_driver Rollup merge of #94146 - est31:let_else, r=cjgillot 2022-02-20 00:37:34 +01:00
rustc_error_codes
rustc_errors Adopt let else in more places 2022-02-19 17:27:43 +01:00
rustc_expand Rollup merge of #94146 - est31:let_else, r=cjgillot 2022-02-20 00:37:34 +01:00
rustc_feature Rollup merge of #93658 - cchiw:issue-77443-fix, r=joshtriplett 2022-02-19 06:45:29 +01:00
rustc_fs_util
rustc_graphviz
rustc_hir Adopt let else in more places 2022-02-19 17:27:43 +01:00
rustc_hir_pretty
rustc_incremental Adopt let else in more places 2022-02-19 17:27:43 +01:00
rustc_index Adopt let else in more places 2022-02-19 17:27:43 +01:00
rustc_infer Rollup merge of #94146 - est31:let_else, r=cjgillot 2022-02-20 00:37:34 +01:00
rustc_interface Rollup merge of #94146 - est31:let_else, r=cjgillot 2022-02-20 00:37:34 +01:00
rustc_lexer
rustc_lint Auto merge of #94062 - Mark-Simulacrum:drop-print-cfg, r=oli-obk 2022-02-20 18:12:59 +00:00
rustc_lint_defs
rustc_llvm Rollup merge of #91675 - ivanloz:memtagsan, r=nagisa 2022-02-18 23:23:03 +01:00
rustc_log
rustc_macros
rustc_metadata Adopt let else in more places 2022-02-19 17:27:43 +01:00
rustc_middle Auto merge of #93678 - steffahn:better_unsafe_diagnostics, r=nagisa 2022-02-20 21:15:11 +00:00
rustc_mir_build Auto merge of #93678 - steffahn:better_unsafe_diagnostics, r=nagisa 2022-02-20 21:15:11 +00:00
rustc_mir_dataflow Adopt let else in more places 2022-02-19 17:27:43 +01:00
rustc_mir_transform Improve unused_unsafe lint 2022-02-20 21:00:12 +01:00
rustc_monomorphize Auto merge of #94062 - Mark-Simulacrum:drop-print-cfg, r=oli-obk 2022-02-20 18:12:59 +00:00
rustc_parse Rollup merge of #94146 - est31:let_else, r=cjgillot 2022-02-20 00:37:34 +01:00
rustc_parse_format
rustc_passes Adopt let else in more places 2022-02-19 17:27:43 +01:00
rustc_plugin_impl
rustc_privacy
rustc_query_impl Auto merge of #94066 - Mark-Simulacrum:factor-out-simple-def-kind, r=davidtwco 2022-02-21 03:36:55 +00:00
rustc_query_system
rustc_resolve Rollup merge of #94146 - est31:let_else, r=cjgillot 2022-02-20 00:37:34 +01:00
rustc_save_analysis Auto merge of #94062 - Mark-Simulacrum:drop-print-cfg, r=oli-obk 2022-02-20 18:12:59 +00:00
rustc_serialize Adopt let else in more places 2022-02-19 17:27:43 +01:00
rustc_session Rollup merge of #94146 - est31:let_else, r=cjgillot 2022-02-20 00:37:34 +01:00
rustc_span Rollup merge of #94146 - est31:let_else, r=cjgillot 2022-02-20 00:37:34 +01:00
rustc_symbol_mangling
rustc_target Rollup merge of #94146 - est31:let_else, r=cjgillot 2022-02-20 00:37:34 +01:00
rustc_trait_selection Auto merge of #94108 - compiler-errors:just-confirmation-normalization, r=jackh726 2022-02-21 10:06:24 +00:00
rustc_traits Adopt let else in more places 2022-02-19 17:27:43 +01:00
rustc_ty_utils Adopt let else in more places 2022-02-19 17:27:43 +01:00
rustc_type_ir
rustc_typeck Auto merge of #94062 - Mark-Simulacrum:drop-print-cfg, r=oli-obk 2022-02-20 18:12:59 +00:00