Skip to content

Allow use_self at function level #5078

Closed
@martinthomson

Description

@martinthomson

Like #5053, the use_self lint cannot be denied or allowed at the function level.

playground

As it is sometimes necessary to suppress this (e.g., #3410), it would be very useful to be able to target a specific function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesgood 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