Skip to content

Use of num_derive::FromPrimitive throws Clippy lint clippy::use_self #47

Closed
@Fuwn

Description

@Fuwn

I've just bumped my tool-chain release up from nightly-2021-02-20 to nightly-2021-06-04 and a new warning arises for the num_derive::FromPrimitive derive macro.

The Clippy lint clippy::use_self is thrown for the following derive macro use-case:


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions