mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Fix variadic arg inline test
This commit is contained in:
parent
3fb58c620c
commit
9ea36703d2
3 changed files with 25 additions and 25 deletions
|
@ -61,7 +61,7 @@ fn list_(p: &mut Parser, flavor: Flavor) {
|
|||
}
|
||||
// test param_list_vararg
|
||||
// extern "C" { fn printf(format: *const i8, ...) -> i32; }
|
||||
// extern "C" { fn printf(#[attr] format: *const i8, ...) -> i32; }
|
||||
// extern "C" { fn printf(format: *const i8, #[attr] ...) -> i32; }
|
||||
if flavor.type_required() {
|
||||
p.eat(T![...]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue