-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmp_owned: handle when PartialEq is not implemented symmetrically #5701
Conversation
r? @flip1995 (rust_highfive has picked a reviewer for you, use r? to override) |
I think I've addressed all of @mikerite's suggestions (thanks again). Besides reversing the operands when necessary, the lint will not erroneously suggest dereferencing when it's not implemented and catches some FN. |
f01d898
to
b498e1d
Compare
📌 Commit b498e1d has been approved by |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
changelog: Handle asymmetrical implementations of PartialEq in [
cmp_owned
].Fixes #4874