]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/single-line-macro/v2.rs
Auto merge of #95315 - compiler-errors:pointee-fix, r=pnkfelix
[rust.git] / src / tools / rustfmt / tests / target / single-line-macro / v2.rs
1 // rustfmt-version: Two
2
3 // #2652
4 // Preserve trailing comma inside macro, even if it looks an array.
5 macro_rules! bar {
6     ($m:ident) => {
7         $m!([
8             a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z,
9         ]);
10         $m!([
11             a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z
12         ]);
13     };
14 }