about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-06 06:36:42 +0000
committerbors <bors@rust-lang.org>2024-04-06 06:36:42 +0000
commit8d490e33ad7bbcdeab7975be787653b1e46e48e4 (patch)
tree74f75f196d83b316885ccaeb2d52a550588ac614 /compiler/rustc_mir_transform/src
parent23d47dba319331d4418827cfbb8c1af283497d3c (diff)
parent43dae6934153693be62902fcefed0f97b4ca892f (diff)
downloadrust-8d490e33ad7bbcdeab7975be787653b1e46e48e4.tar.gz
rust-8d490e33ad7bbcdeab7975be787653b1e46e48e4.zip
Auto merge of #123471 - compiler-errors:match_projection_projections, r=oli-obk
Check def id before calling `match_projection_projections`

When I "inlined" `assemble_candidates_from_predicates` into `for_each_item_bound` in #120584, I forgot to copy over the check that actually made sure the def id of the candidate was equal to the def id of the obligation. This means that we normalize goal a bit too often even if it's not productive to do so.

This PR adds that def id check back.
Fixes #123448
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions