]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
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 | } |