]> git.lizzy.rs Git - rust.git/blob - tests/ui/panic-runtime/needs-gate.stderr
Rollup merge of #106661 - mjguzik:linux_statx, r=Mark-Simulacrum
[rust.git] / tests / ui / panic-runtime / needs-gate.stderr
1 error[E0658]: the `#[panic_runtime]` attribute is an experimental feature
2   --> $DIR/needs-gate.rs:4:1
3    |
4 LL | #![panic_runtime]
5    | ^^^^^^^^^^^^^^^^^
6    |
7    = note: see issue #32837 <https://github.com/rust-lang/rust/issues/32837> for more information
8    = help: add `#![feature(panic_runtime)]` to the crate attributes to enable
9
10 error[E0658]: the `#[needs_panic_runtime]` attribute is an experimental feature
11   --> $DIR/needs-gate.rs:5:1
12    |
13 LL | #![needs_panic_runtime]
14    | ^^^^^^^^^^^^^^^^^^^^^^^
15    |
16    = note: see issue #32837 <https://github.com/rust-lang/rust/issues/32837> for more information
17    = help: add `#![feature(needs_panic_runtime)]` 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`.