Skip to content

clippy::drop_ref will trigger on &mut T as well as &T #4461

@Lokathor

Description

@Lokathor

the drop_ref lint will trigger on &mut T values being dropped, even though dropping them does have an effect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Clippy is not doing the correct thingI-false-positiveIssue: The lint was triggered on code it shouldn't have

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions