Skip to content

Fix match_single_binding wrongly handles scope #15060

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
Jul 28, 2025

Conversation

profetia
Copy link
Contributor

@profetia profetia commented Jun 15, 2025

Closes #15018
Closes #15269

Continuation of #15017

changelog: [match_single_binding] fix wrong handling of scope

@rustbot
Copy link
Collaborator

rustbot commented Jun 15, 2025

r? @dswij

rustbot has assigned @dswij.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jun 15, 2025
@profetia
Copy link
Contributor Author

r? samueltardieu

@rustbot rustbot assigned samueltardieu and unassigned dswij Jun 30, 2025
@profetia
Copy link
Contributor Author

I will try also include fixes for #15162

@samueltardieu
Copy link
Member

Reverting unsollicited reassignment
r? dswij

@samueltardieu
Copy link
Member

This doesn't seem to fix #15269 which is of the same category. Could you have a look @profetia?

@profetia
Copy link
Contributor Author

@samueltardieu #15269 is fixed in this PR now

Copy link
Member

@dswij dswij left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the changes, it looks great! Just a small comment, and I think it's good to merge afterward.

@profetia
Copy link
Contributor Author

Updated. Thank you!

@profetia profetia requested a review from dswij July 17, 2025 12:50
@profetia
Copy link
Contributor Author

Any feedback? @dswij

@dswij
Copy link
Member

dswij commented Jul 28, 2025

Sorry, was buried with things to do past two weeks. Thanks for the ping! :)

@dswij dswij added this pull request to the merge queue Jul 28, 2025
Merged via the queue into rust-lang:master with commit f4f579f Jul 28, 2025
11 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jul 28, 2025
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.

match_single_binding suggests code with invalid syntax match_single_binding: missing brackets
4 participants