Skip to content

Conversation

notriddle
Copy link
Contributor

@notriddle notriddle commented Jun 23, 2025

This commit also adds more test cases, which already worked but were mentioned in the issue.

Fixes #9939

changelog: [manual_let_else]: correctly handle binding subpattern with unused name

@rustbot
Copy link
Collaborator

rustbot commented Jun 23, 2025

r? @llogiq

rustbot has assigned @llogiq.
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 23, 2025
@notriddle notriddle force-pushed the notriddle/issue-9939 branch 2 times, most recently from ba936e3 to 1007571 Compare June 23, 2025 19:09
This commit also adds more test cases, which work fine but were
mentioned in the issue.
@notriddle notriddle force-pushed the notriddle/issue-9939 branch from 1007571 to cd68244 Compare June 23, 2025 19:14
@llogiq llogiq added this pull request to the merge queue Jul 6, 2025
Merged via the queue into rust-lang:master with commit 5c51a1d Jul 6, 2025
11 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jul 6, 2025
@notriddle notriddle deleted the notriddle/issue-9939 branch July 7, 2025 15:33
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.

manual_let_else should reuse the identifier from the original let statement
3 participants