Skip to content

Clippy does not respect inline #[allow(…)] attribute #2332

Closed
@antoyo

Description

@antoyo

Hello.
It seems that clippy does not respect the inline #[allow(…)] attributes.
For instance, the following code still triggers a warning:

    #[allow(toplevel_ref_arg)]
    let ref mut x = 1234543;

Thanks to fix this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Clippy is not doing the correct thingE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.T-macrosType: Issues with macros and macro expansion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions