-
Notifications
You must be signed in to change notification settings - Fork 537
list of place expressions is incomplete #1645
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Can you please explain why it seems like control flow expressions are place expressions? |
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=b6ab9f2513e411fc96a792bea657b20e shows what is happening here with errors:
If |
yeah i see that. the actual problem is that the rules for temporary lifetime extension are obfuscated and incomprehensible. and also that |
I'm going to close as I believe this has been answered. Please let us know if something is overlooked. |
several control flow expressions are actually place expressions:
i've tested
if
andloop
, doubtless there are many more.The text was updated successfully, but these errors were encountered: