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 uninhabited_references to nursery #11997

Merged
merged 1 commit into from Dec 23, 2023
Merged

Move uninhabited_references to nursery #11997

merged 1 commit into from Dec 23, 2023

Conversation

TethysSvensson
Copy link
Contributor

@TethysSvensson TethysSvensson commented Dec 22, 2023

I think this lint has too many false positives and should be put in pedantic. See #11984 and #11985 for context.

The lint is already in beta and is causing trouble for us, so I would also like this PR to be backported to beta as well.

changelog: Moved [uninhabited_references] to nursery (Now allow-by-default)
#11997
(Check if this has been backported)

Fixes #11984.

@rustbot
Copy link
Collaborator

rustbot commented Dec 22, 2023

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @xFrednet (or someone else) soon.

Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate:

  • @rustbot author: the review is finished, PR author should check the comments and take action accordingly
  • @rustbot review: the author is ready for a review, this PR will be queued again in the reviewer's queue

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Dec 22, 2023
@TethysSvensson TethysSvensson mentioned this pull request Dec 22, 2023
4 tasks
@xFrednet
Copy link
Member

xFrednet commented Dec 23, 2023

Thank you for the PR!

@flip1995 Could you take a look at this one? (You reviewed the original PR and would also do the beta backport, if we want to do it.)

The issue #11984 suggests that the dereference is not the problem, but the actual creation of the type. If that's the case, I think it would be better to move the lint to nursery until it is fixed. But I'm also not an expert in that domain, so having a second opinion would definitely help.

@flip1995
Copy link
Member

Yeah, I think we should move it to nursery for now.

@TethysSvensson TethysSvensson changed the title Move uninhabited_references to pedantic Move uninhabited_references to nursury Dec 23, 2023
@TethysSvensson TethysSvensson changed the title Move uninhabited_references to nursury Move uninhabited_references to nursery Dec 23, 2023
@TethysSvensson
Copy link
Contributor Author

@flip1995 I've updated the PR

@xFrednet xFrednet added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Dec 23, 2023
@xFrednet
Copy link
Member

Thank you for the PR!

@bors r+

@bors
Copy link
Collaborator

bors commented Dec 23, 2023

📌 Commit 1576ecc has been approved by xFrednet

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Dec 23, 2023

⌛ Testing commit 1576ecc with merge 370615b...

@bors
Copy link
Collaborator

bors commented Dec 23, 2023

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

@bors bors merged commit 370615b into rust-lang:master Dec 23, 2023
5 checks passed
@TethysSvensson TethysSvensson deleted the uninhabited-references-pedantic branch December 23, 2023 17:17
@TethysSvensson
Copy link
Contributor Author

Is there anything I need to do to get this backported to beta?

@xFrednet
Copy link
Member

The beta-nominted label marks the PR to be backported. @flip1995 usually does the backports for us. I hope that Xmas doesn't interfere with it, as the next release is in 5 days AFAIK

@flip1995
Copy link
Member

It's already too late for backporting it. I'll make sure that this line doesn't get into stable in the next release cycle though.

@TethysSvensson
Copy link
Contributor Author

@flip1995 Can we get a backport now, since it's still present in beta?

Currently our CI is failing, because we run beta clippy in CI.

I could disable that behavior, but I would prefer to keep it, since it's nice to get a heads-up on any lints before they hit stable. However in this case, it's not an issue we can (or want to) fix.

@flip1995
Copy link
Member

flip1995 commented Jan 3, 2024

I'll do an early backport once I get to it. I'm currently busy with catching up with my 1k notifications. Sorry for the inconvenience.

@flip1995
Copy link
Member

flip1995 commented Jan 4, 2024

rust-lang/rust#119584

bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 6, 2024
…k-Simulacrum

[beta] Clippy (early) beta backport

Early backport of
- rust-lang/rust-clippy#11997

This is causing some major issues for Clippy beta-users. As those are the ones that help testing new lints early, we want to fix their issues ASAP.

r? `@Mark-Simulacrum`

cc `@Manishearth`
@flip1995 flip1995 added beta-accepted Accepted for backporting to the compiler in the beta channel. and removed beta-nominated Nominated for backporting to the compiler in the beta channel. labels Feb 1, 2024
@xFrednet xFrednet removed the beta-accepted Accepted for backporting to the compiler in the beta channel. label Mar 18, 2024
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.

uninhabited_references is very likely to be a false positive
5 participants