Skip to content

Tracking issue for const_patterns_without_partial_eq lint #116122

@RalfJung

Description

@RalfJung

We used to (accidentally) accept some constants in patterns that don't even implement PartialEq. This is an accident and we'd like to hard-reject all such cases in the future. This lint catches those cases.

Relevant PRs:

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions