]> git.proxmox.com Git - rustc.git/blob - src/test/ui/feature-gates/feature-gate-c_variadic.stderr
New upstream version 1.51.0+dfsg1
[rustc.git] / src / test / ui / feature-gates / feature-gate-c_variadic.stderr
1 error[E0658]: C-variadic functions are unstable
2 --> $DIR/feature-gate-c_variadic.rs:3:1
3 |
4 LL | pub unsafe extern "C" fn test(_: i32, ap: ...) { }
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: see issue #44930 <https://github.com/rust-lang/rust/issues/44930> for more information
8 = help: add `#![feature(c_variadic)]` to the crate attributes to enable
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0658`.