let_underscore_drop should not trigger on function parameters #119696
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
No response
Rationale and extra context
The
async fn from_config(drop(_): Config) {}
suggestion does not make sense, this will fail when applied with rustfix.Other cases
No response
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: