-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use non-intercrate SelectionContext for normalization in coherence::with_fresh_ty_vars #86360
Conversation
…ith_fresh_ty_vars
r? @estebank (rust-highfive has picked a reviewer for you, use r? to override) |
@estebank Can you review this, please? |
@bors r+ |
📌 Commit 8fd515c has been approved by |
⌛ Testing commit 8fd515c with merge 5cdeccb1f7728b38161e581bcc6d55118e063be2... |
The job Click to see the possible cause of the failure (guessed by this bot)
|
💔 Test failed - checks-actions |
@estebank This fails in some macro call, which I can't minimize. The only other possible solution I'd have for now would be to just change the flag on the existing |
⌛ Testing commit 8fd515c with merge 4ef29ce025ae9896a9e8e80d60cfa4f78932627f... |
The job Click to see the possible cause of the failure (guessed by this bot)
|
💔 Test failed - checks-actions |
What change were you talking about? Looking at that macro, it seems like maybe we might be doing something wrong now with the expansion of |
@bors r- Tests failed, but bors still has it in the merge queue. |
triage: |
@JohnCSimon Sorry, I forgot about this PR. I will try to look into this again this week. Feel free to close this, if I won't update this PR by then. |
Fixes #85898
Previously we used a SelectionContext with the
intercrate
flag set inwith_fresh_ty_vars
, which caused projections of foreign types to fail the orphan check. We now use a new SelectionContext for the normalization.