about summary refs log tree commit diff
path: root/tests/ui/error-codes
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2025-02-12 10:35:32 -0800
committerJubilee Young <workingjubilee@gmail.com>2025-02-12 19:57:45 -0800
commit4bb0c3da2c1397034a5036b73bc78369b719f593 (patch)
treea692e4db1ac5b1395677f7ca73615f46ef7a2b94 /tests/ui/error-codes
parentef148cd7eb00a5a973130dc6473da71fd6c487ee (diff)
downloadrust-4bb0c3da2c1397034a5036b73bc78369b719f593.tar.gz
rust-4bb0c3da2c1397034a5036b73bc78369b719f593.zip
Split out the `extern_system_varargs` feature
After the stabilization PR was opened, `extern "system"` functions were
added to `extended_varargs_abi_support`. This has a number of questions
regarding it that were not discussed and were somewhat surprising.
It deserves to be considered as its own feature, separate from
`extended_varargs_abi_support`.
Diffstat (limited to 'tests/ui/error-codes')
-rw-r--r--tests/ui/error-codes/E0045.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/error-codes/E0045.stderr b/tests/ui/error-codes/E0045.stderr
index 25b2f2654da..b8ee31a4049 100644
--- a/tests/ui/error-codes/E0045.stderr
+++ b/tests/ui/error-codes/E0045.stderr
@@ -1,4 +1,4 @@
-error[E0045]: C-variadic function must have a compatible calling convention, like `C` or `cdecl`
+error[E0045]: C-variadic function must have a compatible calling convention, like `C`, `cdecl`, `system`, `aapcs`, `win64`, `sysv64` or `efiapi`
   --> $DIR/E0045.rs:1:17
    |
 LL | extern "Rust" { fn foo(x: u8, ...); }