Skip to content

fix: Fix handling of self in lower_coroutine_body_with_moved_arguments()#22266

Merged
ChayimFriedman2 merged 1 commit into
rust-lang:masterfrom
ChayimFriedman2:closure-analysis
May 5, 2026
Merged

fix: Fix handling of self in lower_coroutine_body_with_moved_arguments()#22266
ChayimFriedman2 merged 1 commit into
rust-lang:masterfrom
ChayimFriedman2:closure-analysis

Conversation

@ChayimFriedman2

@ChayimFriedman2 ChayimFriedman2 commented May 3, 2026

Copy link
Copy Markdown
Contributor

I have hard time constructing a test for this, but this does fixes panics.

Fixes #22262.

I have hard time constructing a test for this, but this does fixes panics.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 3, 2026
@ChayimFriedman2 ChayimFriedman2 added this pull request to the merge queue May 5, 2026
Merged via the queue into rust-lang:master with commit a28bec8 May 5, 2026
18 checks passed
@ChayimFriedman2 ChayimFriedman2 deleted the closure-analysis branch May 5, 2026 18:37
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Request handler panicked: deref of unexpected pointer type {type error} Code: -32603

3 participants