-
Notifications
You must be signed in to change notification settings - Fork 1.6k
similar_names triggers for levensthein distance of 8 #3057
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
Comments
o_O The warnings disappear as soon as I remove |
Duplicate of #2651 |
Something really weird is happening here Playground (original): insane thinks I triedThe lint gets always triggered on the 10th line after Well, or maybe not... If we remove a field above With Let's move So it seems, that this lint doesn't like odd numbers greater than 10. Time to go crazy: let's add a 14th and 15th field and see what happens: Playground Why stop at 15 fields? Playground It lints on You're seeing the same things right? Am I going crazy? Send help!! 😄 EDIT: Deriving both |
It's a macro expansion problem. If you use
It's already been fixed by #3056. |
Oh I thought this was already in the Clippy version of yesterday. Even better then! |
@flip1995 it can take few days before rust module is updated. |
clippy 0.0.212 / rustc 1.30.0-nightly (d767ee1 2018-08-15)
code:
I'm getting
similar_names
warning for binding namestotal_reg_src_size
andtotal_size
although levensthein distance of these is 8.Was the check tightened recently?
Also:
numb_reg_src_checkouts
andtotal_bin_size
(????)The text was updated successfully, but these errors were encountered: