-
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
Incomplete postfix detected for enum_variant_names
#4639
Comments
As a starting point, the problem seems to lie in our camel case detection. We only look for the last camel case component and don't consider that, in this case, That file has a bunch of unit tests which should help with fixing the problem, too. |
I would like to challenge this issue |
@phansch Hi. I have checked the codes in |
This explains our testing environment best: https://github.com/rust-lang/rust-clippy/blob/master/doc/adding_lints.md#testing TL;DR: You have to run |
@flip1995 Thanks!! |
Sorry, I'm stucking...I am trying to detect consecutive camel case by updating |
Given this enum (reproduced in its entirety):
The error I get is:
It seems to me like the complete, shared postfix should be
IData
instead ofData
. Maybe theI
part is too short and doesn't get detected.The text was updated successfully, but these errors were encountered: