]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unwind-abis/feature-gate-c-unwind.stderr
Auto merge of #101893 - oli-obk:lift_derive, r=lcnr
[rust.git] / src / test / ui / unwind-abis / feature-gate-c-unwind.stderr
1 warning: unknown lint: `ffi_unwind_calls`
2   --> $DIR/feature-gate-c-unwind.rs:4:1
3    |
4 LL | #![allow(ffi_unwind_calls)]
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
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
11
12 error[E0658]: C-unwind ABI is experimental and subject to change
13   --> $DIR/feature-gate-c-unwind.rs:8:8
14    |
15 LL | extern "C-unwind" fn f() {}
16    |        ^^^^^^^^^^
17    |
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
20
21 warning: unknown lint: `ffi_unwind_calls`
22   --> $DIR/feature-gate-c-unwind.rs:4:1
23    |
24 LL | #![allow(ffi_unwind_calls)]
25    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
26    |
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
30
31 error: aborting due to previous error; 2 warnings emitted
32
33 For more information about this error, try `rustc --explain E0658`.