a2f861730e
* fix adds a trailing comma to struct-like macro
22 lines
446 B
Rust
22 lines
446 B
Rust
test!(RunPassPretty {
|
|
// comment
|
|
path: "src/test/run-pass/pretty",
|
|
mode: "pretty",
|
|
suite: "run-pass",
|
|
default: false,
|
|
host: true // should, force, , no trailing comma here
|
|
});
|
|
|
|
test!(RunPassPretty {
|
|
// comment
|
|
path: "src/test/run-pass/pretty",
|
|
mode: "pretty",
|
|
suite: "run-pass",
|
|
default: false,
|
|
host: true, // should, , preserve, the trailing comma
|
|
});
|
|
|
|
test!(Test {
|
|
field: i32, // comment
|
|
});
|