1 warning: unknown lint: `ffi_unwind_calls`
2 --> $DIR/feature-gate-c-unwind.rs:4:1
4 LL | #![allow(ffi_unwind_calls)]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: `#[warn(unknown_lints)]` on by default
8 = note: the `ffi_unwind_calls` lint is unstable
9 = note: see issue #74990 <https://github.com/rust-lang/rust/issues/74990> for more information
10 = help: add `#![feature(c_unwind)]` to the crate attributes to enable
12 error[E0658]: C-unwind ABI is experimental and subject to change
13 --> $DIR/feature-gate-c-unwind.rs:8:8
15 LL | extern "C-unwind" fn f() {}
18 = note: see issue #74990 <https://github.com/rust-lang/rust/issues/74990> for more information
19 = help: add `#![feature(c_unwind)]` to the crate attributes to enable
21 warning: unknown lint: `ffi_unwind_calls`
22 --> $DIR/feature-gate-c-unwind.rs:4:1
24 LL | #![allow(ffi_unwind_calls)]
25 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
27 = note: the `ffi_unwind_calls` lint is unstable
28 = note: see issue #74990 <https://github.com/rust-lang/rust/issues/74990> for more information
29 = help: add `#![feature(c_unwind)]` to the crate attributes to enable
31 error: aborting due to previous error; 2 warnings emitted
33 For more information about this error, try `rustc --explain E0658`.