Skip to content

False positive for used_underscore_binding #696

Closed
@bluss

Description

@bluss

Using variable names like let mut _x will also suppress unused_mut warnings. I've used this in a macro, so I thought I should report this here, since it's a kind of a false positive (following clippy's suggestions leads to new warnings for the use cases of the macro where the mut is unused).

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Clippy is not doing the correct thingT-macrosType: Issues with macros and macro expansionT-middleType: Probably requires verifiying typesgood first issueThese issues are a good way to get started with Clippy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions