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
{{ message }}
Repository navigation
Parsing inconsistencies with semi-statements in expressions #29071
Activity
nagisa commentedon Oct 15, 2015
This might showcase it better:
parsed as
but
is parsed as
which is completely different thing.
nagisa commentedon Oct 15, 2015
Fixing this, would be a breaking change, but we at least need to ensure we have a test for this.
arielb1 commentedon Oct 15, 2015
@nagisa
This looks like a consequence of "semicolon insertion" (the
stmt: block_exprrule) being eager.Add a test for rust-lang#29071
Auto merge of #29072 - nagisa:place-arrow, r=pnkfelix