-
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
Import mitsuhiko's "Did you mean to use a state machine?" lint #4
Comments
Can anyone provide context for this? I can't really find anything about that lint on the internet or in mitsuhiko's github |
https://github.com/mitsuhiko/rust-excessive-bools-lint |
Hmm, what about licensing? If we port it, do we have to include it's license? |
I'll defer that question to somebody who understands licensing. |
We would have to rewrite it, without looking at the source code. Or we'd have to include the copyright notice of the project. Or mitsuhiko surrenders his copyright to us (the Clippy project) and we can reimplement it here in Clippy. |
Ok, I'll rewrite it without looking at the source code then |
Port mitsuhiko's excessive bools lints Closes #4 . changelog: add `struct_excessive_bools` and `fn_params_excessive_bools` lints. I moved is_trait_impl_item check because at first I implemented it as a late pass for some reason but then I realized it's actually an early lint. But it's a useful function to have, should I move it into a separate pr?
Port mitsuhiko's excessive bools lints Closes #4 . changelog: add `struct_excessive_bools` and `fn_params_excessive_bools` lints. I moved is_trait_impl_item check because at first I implemented it as a late pass for some reason but then I realized it's actually an early lint. But it's a useful function to have, should I move it into a separate pr?
# This is the 1st commit message: Split filter_map into manual_filter_map # The commit message rust-lang#2 will be skipped: # fixup! Split filter_map into manual_filter_map # The commit message rust-lang#3 will be skipped: # fixup! Split filter_map into manual_filter_map # The commit message rust-lang#4 will be skipped: # fixup! Split filter_map into manual_filter_map # The commit message rust-lang#5 will be skipped: # fixup! Split filter_map into manual_filter_map # The commit message rust-lang#6 will be skipped: # fixup! Split filter_map into manual_filter_map
add lint extern_without_repr
Because man that thing is useful.
The text was updated successfully, but these errors were encountered: