The wrong_self_convention
lint should be applied to traits too
#6307
Labels
C-bug
Category: Clippy is not doing the correct thing
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
I-false-negative
Issue: The lint should have been triggered on code, but wasn't
In the following code the
wrong_self_convention
is triggered for theS
struct only (theto_a
method), but not for the trait declaration (theto_b
method):Meta
cargo clippy -V
: clippy 0.0.212 (18bf6b4 2020-10-07)rustc -Vv
:The text was updated successfully, but these errors were encountered: