0

Delegation: fix ICE on `bound_vars` divergence by Bryanskiy · Pull Request #1228...

 4 weeks ago
source link: https://github.com/rust-lang/rust/pull/122881
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Conversation

Contributor

Fixes #122550.

Bug was caused by divergence between lowered type and corresponding bound_vars in late_bound_vars_map. In this patch bound_vars calculation for delegation item is moved from lower_fn_ty to resolve_bound_vars query.

r? @petrochenkov

rustbot

added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

labels

Mar 22, 2024

Collaborator

HIR ty lowering was modified

cc @fmease

Contributor

@bors r+

Contributor

📌 Commit d1ba632 has been approved by petrochenkov

It is now in the queue for this repository.

bors

added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

labels

Mar 25, 2024

bors

merged commit ccc5310 into

rust-lang:master

Mar 25, 2024

11 checks passed

rust-timer

added a commit to rust-lang-ci/rust that referenced this pull request

Mar 25, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects

None yet

Milestone

1.79.0

4 participants

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK