reference icon indicating copy to clipboard operation
reference copied to clipboard

Add new temporary lifetime extension rule

Open m-ou-se opened this issue 6 months ago • 6 comments

See https://github.com/rust-lang/rust/pull/140593

m-ou-se avatar May 07 '25 12:05 m-ou-se

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

m-ou-se avatar May 07 '25 12:05 m-ou-se

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 ^^'

WaffleLapkin avatar May 07 '25 22:05 WaffleLapkin

This looks correct to me.

joshtriplett avatar May 08 '25 15:05 joshtriplett

@rustbot ready

m-ou-se avatar Jun 13 '25 06:06 m-ou-se

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

m-ou-se avatar Jun 13 '25 07:06 m-ou-se

Thanks @m-ou-se! I think this should be ready to merge after https://github.com/rust-lang/rust/pull/140593 merges.

ehuss avatar Jun 13 '25 16:06 ehuss