Skip to content

Commit

Permalink
Auto merge of #123471 - compiler-errors:match_projection_projections,…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
bors committed Apr 6, 2024
2 parents b4f84c8 + 3504606 commit c03f9ab
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit c03f9ab

Please sign in to comment.