Skip to content
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

linkedlist false positive #1800

Closed
clarfonthey opened this issue May 29, 2017 · 3 comments
Closed

linkedlist false positive #1800

clarfonthey opened this issue May 29, 2017 · 3 comments

Comments

@clarfonthey
Copy link
Contributor

For len-trait I use LinkedList solely to implement traits for it. This shouldn't trigger if you're implementing traits for LinkedList and nothing else.

@clarfonthey
Copy link
Contributor Author

Adding onto this, this also flags the inherent impls on LinkedList in liballoc, which is probably a bug.

@basil-cow
Copy link
Contributor

basil-cow commented Jan 23, 2020

This was presumably fixed in #605 and there are (now?) tests for this issue. Lint also doesn't fire in liballoc as of now, although I am not sure if I am running clippy in rust repo correctly. I think this issue can now be closed @flip1995

@flip1995
Copy link
Member

Yes, thanks! Playground

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants