Skip to content

Add new temporary lifetime extension rule #1813

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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

m-ou-se
Copy link
Member

@m-ou-se m-ou-se commented May 7, 2025

@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label May 7, 2025
@m-ou-se
Copy link
Member Author

m-ou-se commented May 7, 2025

@WaffleLapkin I vaguely remember you were working on rewriting this section at some point? Maybe I misremember.

@WaffleLapkin
Copy link
Member

I indeed found this message:

[14:11] waffle: thank uuu!! with this knowledge I can document this stuff in the compiler and reference >:3

I did forget about it and can't find any changes I did back then, so I'd assume I haven't even started rewriting it. I'll write this down so I don't forget again ^^'

@joshtriplett
Copy link
Member

This looks correct to me.

Copy link
Contributor

@ehuss ehuss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the examples below still need updating (just below in the "Examples" section).

@ehuss ehuss added S-waiting-on-author Status: The marked PR is awaiting some action (such as code changes) from the PR author. and removed S-waiting-on-review Status: The marked PR is awaiting review from a maintainer labels May 8, 2025
@m-ou-se
Copy link
Member Author

m-ou-se commented Jun 13, 2025

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: The marked PR is awaiting review from a maintainer and removed S-waiting-on-author Status: The marked PR is awaiting some action (such as code changes) from the PR author. labels Jun 13, 2025
@m-ou-se
Copy link
Member Author

m-ou-se commented Jun 13, 2025

This now fails the code tests because rust-lang/rust#140593 (which this PR is trying to document) isn't merged yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: The marked PR is awaiting review from a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants