Skip to content

Disable expl_impl_clone_on_copy when Copy is manually implemented. #1254

Closed
@Stebalien

Description

@Stebalien

Due to some limitations in the deriving infrastructure, it's sometimes necessary to explicitly implement Copy and Clone. In these cases, it would be nice if clippy detected the explicit Copy implementation and didn't warn about the explicit Clone implementation.

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 haveT-middleType: Probably requires verifiying types

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions