-
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
adding to restriction a lint that check for multiple inherent implementations #2816
Conversation
clippy_lints/src/inherent_impl.rs
Outdated
/// ``` | ||
declare_clippy_lint! { | ||
pub MULTIPLE_INHERENT_IMPL, | ||
pedantic, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather have this in the restriction group. It's something that you don't generally want in my book, but can be very helpful for satisfying standards or company policy
oh well latest nightly is not happy with clippy 😢 |
Nightly breakage is handled in #2817 |
retriggering travis |
@phansch It needs to be rebased on top of master branch to make Travis pass. |
looks like you cherry picked the rustup? Please rebase over master instead 😄 |
my bad, my git-fu is not that good |
one of the integration build failed with
|
for #414
warn on each subsequent implementation of a
struct
, with a note showing the first implementation