reference
reference copied to clipboard
Add new temporary lifetime extension rule
See https://github.com/rust-lang/rust/pull/140593
@WaffleLapkin I vaguely remember you were working on rewriting this section at some point? Maybe I misremember.
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 ^^'
This looks correct to me.
@rustbot ready
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.
Thanks @m-ou-se! I think this should be ready to merge after https://github.com/rust-lang/rust/pull/140593 merges.