clippy::non_canonical_partial_ord_impl
warns for canonical forwarding implementation
#14149
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Lint Name
clippy::non_canonical_partial_ord_impl
Reproducer
Results in this warning:
But I expected no warning for this rather canonical forwarding of traits to one particular member.
Version
The text was updated successfully, but these errors were encountered: