mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
56f43b5142
When a macro expands to a call whose callee is a block (or other "complete" expression like `match`, `if`, `loop`), the AST pretty printer emits the callee without parentheses. In statement position the closing brace ends the expression and the argument list is parsed as a separate tuple expression, producing a parse error.