-
Notifications
You must be signed in to change notification settings - Fork 492
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
list of place expressions is incomplete #1645
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 |
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: