You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Duplicate of #3232. The local ambiguity is caused by two states corresponding to { $( · $s:stmt )* } and { $( $s:stmt )* · } respectively, where the former is not really possible with the lookahead of } but the macro parser does not know that fact.
feat: allow unwrap block in let initializers
Possible fix for rust-lang#13679
### Points to help in review:
- I just added a parent case for let statements and it seems everything else was in place already, so turned out to be a small fix
I'm not exactly sure what it's supposed to do, but it seems wrong:
As is, we get:
even though there is no way
}
could start a statement. With thelet
instead, it'swhich doesn't seem to make sense either.
rustc 0.11-pre-nightly (d35804e 2014-04-18 00:01:22 -0700)
The text was updated successfully, but these errors were encountered: