Fix ICE from async closure variance by chenyukang · Pull Request #148561 · rust-lang/rust

@chenyukang

@rustbot 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

Nov 6, 2025

@bors 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

Nov 6, 2025

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Nov 6, 2025

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Nov 6, 2025

This was referenced

Nov 6, 2025

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request

Nov 6, 2025

bors added a commit that referenced this pull request

Nov 6, 2025
Rollup of 7 pull requests

Successful merges:

 - #146861 (add extend_front to VecDeque with specialization like extend)
 - #148213 (Fix invalid tag closing when leaving expansion "original code")
 - #148292 (Un-shadow object bound candidate in `NormalizesTo` goal if self_ty is trait object)
 - #148528 (run-make tests: use edition 2024)
 - #148554 (Add regression test for issue 148542)
 - #148561 (Fix ICE from async closure variance)
 - #148563 (rustdoc-search: remove broken index special case)

r? `@ghost`
`@rustbot` modify labels: rollup

rust-timer added a commit that referenced this pull request

Nov 6, 2025
Rollup merge of #148561 - chenyukang:yukang-fix-148488, r=lqd

Fix ICE from async closure variance

Fixes #148488

The fix is also a change from #148556

github-actions bot pushed a commit to model-checking/verify-rust-std that referenced this pull request

Nov 30, 2025
…iaskrgr

Rollup of 7 pull requests

Successful merges:

 - rust-lang#146861 (add extend_front to VecDeque with specialization like extend)
 - rust-lang#148213 (Fix invalid tag closing when leaving expansion "original code")
 - rust-lang#148292 (Un-shadow object bound candidate in `NormalizesTo` goal if self_ty is trait object)
 - rust-lang#148528 (run-make tests: use edition 2024)
 - rust-lang#148554 (Add regression test for issue 148542)
 - rust-lang#148561 (Fix ICE from async closure variance)
 - rust-lang#148563 (rustdoc-search: remove broken index special case)

r? `@ghost`
`@rustbot` modify labels: rollup