rust-clippy
rust-clippy copied to clipboard
Fixes [`trait_duplication_in_bounds`] false positives
Fixes #9076 #9151 #8757. Partially fixes #8771.
changelog: [trait_duplication_in_bounds
]: Reduce number of false positives.
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Manishearth (or someone else) soon.
Please see the contribution instructions for more information.
Assigning this to me, since I reviewed the last PR. I pormise that it won't take me 2 months this time!
r? @flip1995
Thanks! This was the only thing for now. The comments added are great! I now have to go through the tests, but I don't expect that there's anything left for you to do :+1:
@flip1995 I worked on a refactor to lint in one pass https://github.com/rust-lang/rust-clippy/pull/9167/commits/8bae517c2d540dcf62bff12ba7404a23a4233d99. I thought it would be harder than it turned out to be. I've added it to this PR. I'm happy to split it to a separate PR if you prefer.
Maybe in another PR :D
@bors r+
:pushpin: Commit 8bae517c2d540dcf62bff12ba7404a23a4233d99 has been approved by flip1995
It is now in the queue for this repository.
:hourglass: Testing commit 8bae517c2d540dcf62bff12ba7404a23a4233d99 with merge 84df61c06eb36602022e758878afe66479ba0769...
:sunny: Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test Approved by: flip1995 Pushing 84df61c06eb36602022e758878afe66479ba0769 to master...