Skip to content

Use declare_lint_pass! for internal lints #59683

Closed
@Centril

Description

@Centril

In #59669 a declare_lint_pass! macro is introduced. In #59316 two new lints are added that don't use this macro. This issue tracks fixing that.

cc @oli-obk @flip1995

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.C-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions