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

Move implied_bounds_in_impls back to complexity #11867

Merged
merged 1 commit into from
Nov 26, 2023

Conversation

y21
Copy link
Member

@y21 y21 commented Nov 25, 2023

This lint was originally in the complexity category when I PR'd it. It was then moved to nursery by me due to a number of issues (a false positive, an invalid suggestion and an ICE), but that was probably an overreaction and all of the issues were fixed quickly after.
This is a useful lint imo and there hasn't been any issues with it in a few months, so I say we should give it another try and move it back to complexity.

I did a lintcheck run on the top 400 crates and all of them are legitimate, with 18 warnings. Most of them are from anstyle having a impl Display + Copy + Clone return type, or the bitvec crate with a return type like impl Iterator + DoubleEndedIterator.

changelog: Move [implied_bounds_in_impls] to complexity (Now warn-by-default)
#11867

@rustbot
Copy link
Collaborator

rustbot commented Nov 25, 2023

r? @Jarcho

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Nov 25, 2023
@Jarcho
Copy link
Contributor

Jarcho commented Nov 26, 2023

Just opened a new issue for the lint. Given that it's more of an edge case I wouldn't say it's enough to keep the lint in the nursery. @bors r+

@bors
Copy link
Collaborator

bors commented Nov 26, 2023

📌 Commit 5689a86 has been approved by Jarcho

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Nov 26, 2023

⌛ Testing commit 5689a86 with merge f30a859...

@bors
Copy link
Collaborator

bors commented Nov 26, 2023

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: Jarcho
Pushing f30a859 to master...

@bors bors merged commit f30a859 into rust-lang:master Nov 26, 2023
5 checks passed
kpreid added a commit to kpreid/all-is-cubes that referenced this pull request Dec 12, 2023
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.

4 participants