Rename variadic to c_variadic
Function signatures with the `variadic` member set are actually C-variadic functions. Make this a little more explicit by renaming the `variadic` boolean value, `c_variadic`.
This commit is contained in:
parent
a618ad6335
commit
08bd4ff998
43 changed files with 119 additions and 119 deletions
|
|
@ -1,3 +1,3 @@
|
|||
extern "C" fn foo(x: u8, ...);
|
||||
//~^ ERROR only foreign functions are allowed to be variadic
|
||||
//~^ ERROR only foreign functions are allowed to be C-variadic
|
||||
//~| ERROR expected one of `->`, `where`, or `{`, found `;`
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
error: only foreign functions are allowed to be variadic
|
||||
error: only foreign functions are allowed to be C-variadic
|
||||
--> $DIR/invalid-variadic-function.rs:1:26
|
||||
|
|
||||
LL | extern "C" fn foo(x: u8, ...);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue