]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/source/issue-2445.rs
Rollup merge of #107166 - petrochenkov:nooptable, r=oli-obk
[rust.git] / src / tools / rustfmt / tests / source / issue-2445.rs
1 test!(RunPassPretty {
2             // comment
3     path: "tests/run-pass/pretty",
4     mode: "pretty",
5     suite: "run-pass",
6     default: false,
7     host: true  // should, force, , no trailing comma here
8 });
9
10 test!(RunPassPretty {
11             // comment
12     path: "tests/run-pass/pretty",
13     mode: "pretty",
14     suite: "run-pass",
15     default: false,
16     host: true,         // should, , preserve, the trailing comma
17 });
18
19 test!(Test{
20     field: i32, // comment
21 });