Skip to content

fix: Handle match scrutinee in closure captures #14851

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

Merged
merged 2 commits into from
May 19, 2023
Merged

Conversation

HKalbasi
Copy link
Member

fix #14754

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 19, 2023
@HKalbasi
Copy link
Member Author

@bors r+

@bors
Copy link
Contributor

bors commented May 19, 2023

📌 Commit c5ea2d7 has been approved by HKalbasi

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented May 19, 2023

⌛ Testing commit c5ea2d7 with merge 6eba404...

bors added a commit that referenced this pull request May 19, 2023
Handle match scrutinee in closure captures

fix #14754
@bors
Copy link
Contributor

bors commented May 19, 2023

💔 Test failed - checks-actions

@HKalbasi
Copy link
Member Author

@bors r+

@bors
Copy link
Contributor

bors commented May 19, 2023

📌 Commit 60379da has been approved by HKalbasi

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented May 19, 2023

⌛ Testing commit 60379da with merge ce93617...

@bors
Copy link
Contributor

bors commented May 19, 2023

☀️ Test successful - checks-actions
Approved by: HKalbasi
Pushing ce93617 to master...

@bors bors merged commit ce93617 into rust-lang:master May 19, 2023
@lnicola lnicola changed the title Handle match scrutinee in closure captures fix: Handle match scrutinee in closure captures May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Closure capture calculated incorrectly for non-binding match
3 participants