blob: e199717cf708be9f81b0019d93dab46af9657d4c [file]
error: unexpected `...`
--> $DIR/const-param-variadic.rs:3:17
|
LL | fn foo(const X: ...) {}
| ^^^
|
= note: only `extern "C"` and `extern "C-unwind"` functions may have a C variable argument list
error: aborting due to 1 previous error