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
This is not currently supported. I would be prepared to consider a PR that exposes it as something like Expr::parse_without_eager_brace (documented with explanation and realistic example).
dtolnay
changed the title
Parsing expr disallowing structs?
Parse expr disallowing structs
Dec 25, 2018
Hi, is there any way to call this function from the public API of syn?
I want to parse a Rust's for-like expression and using the normal Expr parser fails on
for x in y {}
as it thinks thaty {}
is a struct expression.The text was updated successfully, but these errors were encountered: