|
| 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 | + |
1 | 12 | error[E0658]: C-unwind ABI is experimental and subject to change |
2 | | - --> $DIR/feature-gate-c-unwind.rs:4:8 |
| 13 | + --> $DIR/feature-gate-c-unwind.rs:8:8 |
3 | 14 | | |
4 | 15 | LL | extern "C-unwind" fn f() {} |
5 | 16 | | ^^^^^^^^^^ |
6 | 17 | | |
7 | 18 | = note: see issue #74990 <https://github.com/rust-lang/rust/issues/74990> for more information |
8 | 19 | = help: add `#![feature(c_unwind)]` to the crate attributes to enable |
9 | 20 |
|
10 | | -error: aborting due to previous error |
| 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 |
11 | 32 |
|
12 | 33 | For more information about this error, try `rustc --explain E0658`. |
0 commit comments