We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using clippy 0.1.55 (88539999 2021-07-06).
clippy 0.1.55 (88539999 2021-07-06)
The suggestion given for:
let t1 = match type_section.types()[1] { Type::Function(ref func_type) => func_type };
is:
let Type::Function(t1) = type_section.types()[1];
it should actually include the ref:
ref
let Type::Function(ref t1) = type_section.types()[1];
The text was updated successfully, but these errors were encountered:
Can you provide a minimal reproduction on the playground?
Sorry, something went wrong.
This issue appears to be fixed in clippy 0.1.56 (49272389 2021-07-29)
clippy 0.1.56 (49272389 2021-07-29)
Also bumped into this yesterday, seems that it isn't fixed yet: playground link
infallible_destructuring_match
Auto merge of #9850 - pheki:fix-7499-missing-ref, r=dswij
dfe37f1
Preserve `ref` on `infallible_destructuring_match` suggestion Fixes #7499 changelog: [`infallible_destructuring_match`]: Preserve `ref` on suggestion
Successfully merging a pull request may close this issue.
I am using
clippy 0.1.55 (88539999 2021-07-06)
.The suggestion given for:
is:
it should actually include the
ref
:The text was updated successfully, but these errors were encountered: