rust/tests/ui/feature-gates/feature-gate-c_variadic.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
493 B
Plaintext
Raw Normal View History

2019-04-19 03:36:32 +08:00
error[E0658]: C-variadic functions are unstable
2019-02-25 06:40:11 +08:00
--> $DIR/feature-gate-c_variadic.rs:3:1
|
LL | pub unsafe extern "C" fn test(_: i32, ap: ...) { }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-02-07 20:07:02 +08:00
= note: see issue #44930 <https://github.com/rust-lang/rust/issues/44930> for more information
= help: add `#![feature(c_variadic)]` to the crate attributes to enable
2019-02-25 06:40:11 +08:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0658`.