mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 16:15:03 +00:00
a2f861730e
* fix adds a trailing comma to struct-like macro
22 lines
470 B
Rust
22 lines
470 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
|
|
});
|