-
Notifications
You must be signed in to change notification settings - Fork 2k
Manual assert_eq! (enhance if_then_panic) #7716
Copy link
Copy link
Open
Labels
C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesCategory: Enhancement of lints, like adding more cases or adding help messagesgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesCategory: Enhancement of lints, like adding more cases or adding help messagesgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy
Type
Fields
Give feedbackNo fields configured for issues without a type.
We just added
if_then_panic, but then I realized there's a possible enhancement forassert_eq!/assert_ne!:I think a rename to
manual_assertwould be best. But we could also keep the current name (it still kinda makes sense) or create a new lint for this case.