about summary refs log tree commit diff
path: root/tests/ui/cmse-nonsecure/cmse-nonsecure-entry/c-variadic.stderr
blob: 948f8f5747b0e24553628308f730f819b47c8cf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
error: `...` is not supported for `extern "cmse-nonsecure-entry"` functions
  --> $DIR/c-variadic.rs:14:60
   |
LL | unsafe extern "cmse-nonsecure-entry" fn c_variadic(_: u32, _: ...) {
   |        -----------------------------                       ^^^^^^
   |        |
   |        `extern "cmse-nonsecure-entry"` because of this
   |
   = help: only `extern "C"` and `extern "C-unwind"` functions may have a C variable argument list

error: functions cannot be both `async` and C-variadic
  --> $DIR/c-variadic.rs:19:1
   |
LL | async unsafe extern "cmse-nonsecure-entry" fn async_and_c_variadic(_: ...) {
   | ^^^^^ `async` because of this                                      ^^^^^^ C-variadic because of this

error: `...` is not supported for `extern "cmse-nonsecure-entry"` functions
  --> $DIR/c-variadic.rs:19:68
   |
LL | async unsafe extern "cmse-nonsecure-entry" fn async_and_c_variadic(_: ...) {
   |              -----------------------------                         ^^^^^^
   |              |
   |              `extern "cmse-nonsecure-entry"` because of this
   |
   = help: only `extern "C"` and `extern "C-unwind"` functions may have a C variable argument list

error: aborting due to 3 previous errors