]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gate/feature-gate-c_variadic.stderr
Auto merge of #57760 - dlrobertson:varargs1, r=alexreg
[rust.git] / src / test / ui / feature-gate / feature-gate-c_variadic.stderr
1 error[E0658]: C-varaidic functions are unstable (see issue #44930)
2   --> $DIR/feature-gate-c_variadic.rs:3:1
3    |
4 LL | pub unsafe extern "C" fn test(_: i32, ap: ...) { }
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = help: add #![feature(c_variadic)] to the crate attributes to enable
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0658`.