-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Fixes [trait_duplication_in_bounds
] false positives
#9167
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
Fixes [trait_duplication_in_bounds
] false positives
#9167
Conversation
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 |
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.
Early review. I still have to look through the tests, but the impl changes LGTM overall.
- only compare where predicates to trait bounds when generating where clause specific message to fix rust-lang#9151 - use comparable_trait_ref to account for trait bound generics to fix rust-lang#8757
7f2797a
to
3ddc04f
Compare
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 👍 |
0cf2864
to
3ddc04f
Compare
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.
Awesome work, thanks! Now I wonder if I had waited even longer with my review, would you fix all of Clippy? 🤔 😛
Maybe in another PR :D @bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Fixes #9076 #9151 #8757.
Partially fixes #8771.
changelog: [
trait_duplication_in_bounds
]: Reduce number of false positives.