diff options
| author | Folkert de Vries <folkert@folkertdev.nl> | 2025-09-08 19:27:07 +0200 |
|---|---|---|
| committer | Folkert de Vries <folkert@folkertdev.nl> | 2025-09-09 21:38:38 +0200 |
| commit | 9196844f0d86242ee3d6a446fe681b6b2d2d674c (patch) | |
| tree | fdd9e15c5928163e6bc9dc4884d5e76a9341f554 /tests/ui/c-variadic | |
| parent | 0c96200f268df10d4f3ac102f3161c67e5e67221 (diff) | |
| download | rust-9196844f0d86242ee3d6a446fe681b6b2d2d674c.tar.gz rust-9196844f0d86242ee3d6a446fe681b6b2d2d674c.zip | |
c-variadic: reject functions with unsupported extern ABI
Diffstat (limited to 'tests/ui/c-variadic')
| -rw-r--r-- | tests/ui/c-variadic/issue-86053-1.stderr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/c-variadic/issue-86053-1.stderr b/tests/ui/c-variadic/issue-86053-1.stderr index eb08370b4f8..adbc04d3a65 100644 --- a/tests/ui/c-variadic/issue-86053-1.stderr +++ b/tests/ui/c-variadic/issue-86053-1.stderr @@ -51,6 +51,8 @@ error: `...` is not supported for non-extern functions | LL | self , ... , self , self , ... ) where F : FnOnce ( & 'a & 'b usize ) { | ^^^ + | + = help: only `extern "C"` and `extern "C-unwind"` functions may have a C variable argument list error[E0412]: cannot find type `F` in this scope --> $DIR/issue-86053-1.rs:11:48 |
