Skip to content

Collision between allow(clippy::needless_lifetimes) in derive and project workspace needless_lifetimes = "forbid" #442

@LucaCappelletti94

Description

@LucaCappelletti94

At this time, in the derive, allow(clippy::needless_lifetimes) is used to avoid clippy ranting about the generated lifetime, but is always added even when there are no lifetimes at all.

This clashes with needless_lifetimes = "forbid" from the project.

I will make a PR to make sure that these decorators are only added when there are lifetimes.

Luca

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions