mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 19:53:46 +00:00
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
|
||
|
});
|