Skip to content

Skip LintPasses whose lints are all Allow #15161

Closed
@kmcallister

Description

@kmcallister

Since each LintPass declares the lints it can emit, we could speed up lint checking by skipping passes whose lints are all Allow. But some passes have side effects gathering information for other parts of the compiler, and those should always run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.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