manual_let_else
produces wrong variable name
#10171
Labels
C-bug
Category: Clippy is not doing the correct thing
L-suggestion
Lint: Improving, adding or fixing lint suggestions
Description
Take the following line of code (which appears in the ui test for
manual_let_else
):which declares a new variable called
v
. If we run clippy on the following code, we get the suggestion to replace it withwhich declares a new variable called
v_some
.The suggestion should be:
Please correct me if I'm wrong, but it looks like we have unit tests that are generating the wrong output.
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: