diff options
| author | Dan Robertson <dan@dlrobertson.com> | 2019-02-08 17:30:42 +0000 |
|---|---|---|
| committer | Dan Robertson <dan@dlrobertson.com> | 2019-02-27 10:21:54 -0500 |
| commit | 08bd4ff9987fc57215a2fe54c63da0e86d9e6fbf (patch) | |
| tree | 35f5410433d1af5e6eff929cc4c1750dc43c9595 /src/test/ui/error-codes | |
| parent | a618ad6335f7cb70005884542f0548ef29f23b7e (diff) | |
| download | rust-08bd4ff9987fc57215a2fe54c63da0e86d9e6fbf.tar.gz rust-08bd4ff9987fc57215a2fe54c63da0e86d9e6fbf.zip | |
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`.
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0045.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/error-codes/E0045.stderr b/src/test/ui/error-codes/E0045.stderr index b38bbc169bd..0ce91f0a401 100644 --- a/src/test/ui/error-codes/E0045.stderr +++ b/src/test/ui/error-codes/E0045.stderr @@ -1,8 +1,8 @@ -error[E0045]: variadic function must have C or cdecl calling convention +error[E0045]: C-variadic function must have C or cdecl calling convention --> $DIR/E0045.rs:1:17 | LL | extern "Rust" { fn foo(x: u8, ...); } //~ ERROR E0045 - | ^^^^^^^^^^^^^^^^^^^ variadics require C or cdecl calling convention + | ^^^^^^^^^^^^^^^^^^^ C-variadics require C or cdecl calling convention error: aborting due to previous error |
