Skip to content

Commit fcbf77e

Browse files
Update ui tests
1 parent 5dfb167 commit fcbf77e

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/test/ui/invalid/invalid-variadic-function.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: only foreign functions are allowed to be C-variadic
1+
error[E0743]: only foreign functions are allowed to be C-variadic
22
--> $DIR/invalid-variadic-function.rs:1:26
33
|
44
LL | extern "C" fn foo(x: u8, ...);
@@ -12,3 +12,4 @@ LL | extern "C" fn foo(x: u8, ...);
1212

1313
error: aborting due to 2 previous errors
1414

15+
For more information about this error, try `rustc --explain E0743`.
+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
error: only foreign functions are allowed to be C-variadic
1+
error[E0743]: only foreign functions are allowed to be C-variadic
22
--> $DIR/variadic-ffi-3.rs:1:18
33
|
44
LL | fn foo(x: isize, ...) {
55
| ^^^
66

77
error: aborting due to previous error
88

9+
For more information about this error, try `rustc --explain E0743`.
+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
error: only foreign functions are allowed to be C-variadic
1+
error[E0743]: only foreign functions are allowed to be C-variadic
22
--> $DIR/variadic-ffi-4.rs:1:29
33
|
44
LL | extern "C" fn foo(x: isize, ...) {
55
| ^^^
66

77
error: aborting due to previous error
88

9+
For more information about this error, try `rustc --explain E0743`.

0 commit comments

Comments
 (0)