Skip to content

fix: manual_let_else missing binding mode #14204

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 1 commit into from
Mar 8, 2025

Conversation

profetia
Copy link
Contributor

@profetia profetia commented Feb 12, 2025

fixes #13768

The existing implemention forgets to handle the binding mode (i.e. ref and ref mut), so I just modified it to cover these cases.

changelog: [manual_let_else]: fix missing binding mode

@rustbot
Copy link
Collaborator

rustbot commented Feb 12, 2025

r? @Manishearth

rustbot has assigned @Manishearth.
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 Feb 12, 2025
@Manishearth
Copy link
Member

r? clippy

still traveling

@rustbot rustbot assigned flip1995 and unassigned Manishearth Feb 12, 2025
@profetia
Copy link
Contributor Author

r? clippy

@rustbot rustbot assigned dswij and unassigned flip1995 Feb 23, 2025
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!

@dswij dswij added this pull request to the merge queue Feb 24, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 24, 2025
@profetia profetia force-pushed the issue13768 branch 2 times, most recently from c83a3a2 to 4679dda Compare February 24, 2025 13:14
@profetia
Copy link
Contributor Author

Looks like it conflicted with the new mandatory test annotations. Anyway you may need to re-press the merge button @dswij

@profetia profetia requested a review from dswij February 24, 2025 13:32
@dswij dswij added this pull request to the merge queue Mar 8, 2025
Merged via the queue into rust-lang:master with commit f83c94c Mar 8, 2025
11 checks passed
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.

manual_let_else suggests incorrect code change
5 participants