-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Extend [expr; N] syntax to allow any expr that can appear in a constant expression #1169
Comments
Implementation: move the |
Two things occur to me:
|
@bstrie: |
It has also occurred to me lately (cc @nikomatsakis @pnkfelix) that a MIR-based borrowck However, If it were a fully explicit loop, then it would require a way to express that all the elements have been initialized, but the number of uses of the element value would be encoded in the CFG. So at the end of the day, perhaps special-casing |
Triage: Closing as there exists an RFC for this now. |
Reminder to either myself or @eddyb to actually propose this.
The text was updated successfully, but these errors were encountered: