Repository navigation
extract duplicate_underscore_argument, and move it into functions - #15508
Conversation
|
No changes for 54c52e2 |
|
Hm, somehow extracting the lint to a separate module was fine, but moving it to another lint pass was not? I even tried to create a separate |
|
You'll need to register it as an early lint pass as well: rust-clippy/clippy_lints/src/lib.rs Line 559 in 9a2076e But that will probably not work since |
|
Thank you very much! With that, everything worked out perfectly |
y21
left a comment
There was a problem hiding this comment.
Thanks, LGTM! Can you squash the commits?
misc: use `str::starts_with` extract `duplicate_underscore_argument` into a module move it to `functions`
|
squashed (and rebased)! |
Basically continuing the work in #6680
Honestly I think the lint could also be run on (trait) impl items, but I didn't implement that because of the feature freeze. If that is deemed okay to add in this PR though, I could happily do so.
changelog: none