Skip to content

Commit c02225d

Browse files
Apply suggestions from code review
Co-authored-by: Josh Triplett <[email protected]>
1 parent 2bab33c commit c02225d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/ui/c-variadic/feature-gate-extended_varargs_abi_support.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fn win(f: extern "win64" fn(usize, ...)) {
1414
}
1515

1616
extern "efiapi" {
17-
fn extern_efapi(...);
17+
fn extern_efiapi(...);
1818
//~^ ERROR using calling conventions other than `C` or `cdecl` for varargs functions is unstable [E0658]
1919
}
2020

tests/ui/c-variadic/feature-gate-extended_varargs_abi_support.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ LL | fn win(f: extern "win64" fn(usize, ...)) {
3131
error[E0658]: using calling conventions other than `C` or `cdecl` for varargs functions is unstable
3232
--> $DIR/feature-gate-extended_varargs_abi_support.rs:17:5
3333
|
34-
LL | fn extern_efapi(...);
34+
LL | fn extern_efiapi(...);
3535
| ^^^^^^^^^^^^^^^^^^^^^
3636
|
3737
= note: see issue #100189 <https://github.com/rust-lang/rust/issues/100189> for more information

0 commit comments

Comments
 (0)