]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-cfg-panic.stderr
Merge commit 'd556c56f792756dd7cfec742b9f2e07612dc10f4' into sync_cg_clif-2021-02-01
[rust.git] / src / test / ui / feature-gates / feature-gate-cfg-panic.stderr
1 error[E0658]: `cfg(panic)` is experimental and subject to change
2   --> $DIR/feature-gate-cfg-panic.rs:1:7
3    |
4 LL | #[cfg(panic = "unwind")]
5    |       ^^^^^^^^^^^^^^^^
6    |
7    = note: see issue #77443 <https://github.com/rust-lang/rust/issues/77443> for more information
8    = help: add `#![feature(cfg_panic)]` to the crate attributes to enable
9
10 error[E0658]: `cfg(panic)` is experimental and subject to change
11   --> $DIR/feature-gate-cfg-panic.rs:4:11
12    |
13 LL | #[cfg(not(panic = "unwind"))]
14    |           ^^^^^^^^^^^^^^^^
15    |
16    = note: see issue #77443 <https://github.com/rust-lang/rust/issues/77443> for more information
17    = help: add `#![feature(cfg_panic)]` to the crate attributes to enable
18
19 error: aborting due to 2 previous errors
20
21 For more information about this error, try `rustc --explain E0658`.