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

Refactor implied_bounds_in_impls lint #12269

Merged
merged 2 commits into from Feb 11, 2024

Conversation

y21
Copy link
Member

@y21 y21 commented Feb 10, 2024

Some refactors in implied_bounds_in_impls that I wanted to make while working on something else in that file, but I found them "large" enough that I didn't want them in the same PR and instead wanted them reviewed separately (since itd just be distracting).

This just splits up the two phases of "collect all the supertraits from each of the impl Trait bounds" and "find those impl Trait bounds that are mentioned in one of the previously-collected supertraits" into separate functions. Before, this was all in a single function.

Reviewing it commit by commit might make it easier. I can squash it down later.

changelog: none

@rustbot
Copy link
Collaborator

rustbot commented Feb 10, 2024

r? @xFrednet

rustbot has assigned @xFrednet.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Feb 10, 2024
@xFrednet
Copy link
Member

Looks good to me, nice refactoring! Thank you for also splitting the changes into good commits!

@bors r+

@bors
Copy link
Collaborator

bors commented Feb 11, 2024

📌 Commit a38f44c has been approved by xFrednet

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Feb 11, 2024

⌛ Testing commit a38f44c with merge 9a253fa...

@bors
Copy link
Collaborator

bors commented Feb 11, 2024

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: xFrednet
Pushing 9a253fa to master...

@bors bors merged commit 9a253fa into rust-lang:master Feb 11, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants