Skip to content

Commit

Permalink
Auto merge of rust-lang#103279 - compiler-errors:normalize-hack-back,…
Browse files Browse the repository at this point in the history
… r=lcnr

Add eval hack in `super_relate_consts` back

Partially reverts 01adb7e.

This extra eval call *still* needs to happen, for example, in `normalize_param_env_or_error` when a param-env predicate has an unnormalized constant, since the param-env candidates never get normalized during candidate assembly (everywhere else we can assume that they are normalized fully).

r? `@lcnr,` though I feel like I've assigned quite a few PRs to you in the last few days, so feel free to reassign to someone else familiar with this code if you're busy!

cc rust-lang#103243 (fixes the issue, but don't want to auto-close that until a backport is performed).
  • Loading branch information
bors committed Oct 26, 2022
2 parents 8c19823 + 1bccc94 commit b7e1fb8
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit b7e1fb8

Please sign in to comment.