about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-02-21 10:06:24 +0000
committerbors <bors@rust-lang.org>2022-02-21 10:06:24 +0000
commita924ef73bce6c20b84b1350b256a923b6d36c056 (patch)
treee3635b9bc59fb9ca6b66e90635230c59f5eff7be /compiler/rustc_codegen_llvm/src/llvm
parent026d8ce7f5f66ba6fbb8aaf4babb533e95ee3efd (diff)
parentb59c958ba6d1a6834c8915ce8146f9a8e81557b6 (diff)
downloadrust-a924ef73bce6c20b84b1350b256a923b6d36c056.tar.gz
rust-a924ef73bce6c20b84b1350b256a923b6d36c056.zip
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm')
0 files changed, 0 insertions, 0 deletions