-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking issue for const_patterns_without_partial_eq lint #116122
Copy link
Copy link
Closed
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFC
Description
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:
- lint towards rejecting consts in patterns that do not implement PartialEq #115893: lint implementation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFC
Type
Fields
Give feedbackNo fields configured for issues without a type.