diff options
author | Evgenii P <[email protected]> | 2019-08-07 17:48:21 +0100 |
---|---|---|
committer | Evgenii P <[email protected]> | 2019-08-07 17:48:21 +0100 |
commit | 9ea36703d27a850976190f870fa7c6cb086028c7 (patch) | |
tree | 32f20221a9af3dcc3ed1174b9326d5aa9e9cb06d /crates/ra_parser/src | |
parent | 3fb58c620ccf93487cc3b9b8718002481826b4c2 (diff) |
Fix variadic arg inline test
Diffstat (limited to 'crates/ra_parser/src')
-rw-r--r-- | crates/ra_parser/src/grammar/params.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_parser/src/grammar/params.rs b/crates/ra_parser/src/grammar/params.rs index fce9dd218..c9c2da379 100644 --- a/crates/ra_parser/src/grammar/params.rs +++ b/crates/ra_parser/src/grammar/params.rs | |||
@@ -61,7 +61,7 @@ fn list_(p: &mut Parser, flavor: Flavor) { | |||
61 | } | 61 | } |
62 | // test param_list_vararg | 62 | // test param_list_vararg |
63 | // extern "C" { fn printf(format: *const i8, ...) -> i32; } | 63 | // extern "C" { fn printf(format: *const i8, ...) -> i32; } |
64 | // extern "C" { fn printf(#[attr] format: *const i8, ...) -> i32; } | 64 | // extern "C" { fn printf(format: *const i8, #[attr] ...) -> i32; } |
65 | if flavor.type_required() { | 65 | if flavor.type_required() { |
66 | p.eat(T![...]); | 66 | p.eat(T![...]); |
67 | } | 67 | } |