mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
7426f5ccf7
rustc: Correctly pretty-print macro delimiters This commit updates the `Mac_` AST structure to keep track of the delimiters that it originally had for its invocation. This allows us to faithfully pretty-print macro invocations not using parentheses (e.g. `vec![...]`). This in turn helps procedural macros due to #43081. Closes #50840