summaryrefslogtreecommitdiffstats
path: root/src/test/ui/panic-runtime/needs-gate.stderr
blob: e067ccaebcf643d81947db5e9dd4582a48aa4e50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0658]: the `#[panic_runtime]` attribute is an experimental feature
  --> $DIR/needs-gate.rs:4:1
   |
LL | #![panic_runtime]
   | ^^^^^^^^^^^^^^^^^
   |
   = note: see issue #32837 <https://github.com/rust-lang/rust/issues/32837> for more information
   = help: add `#![feature(panic_runtime)]` to the crate attributes to enable

error[E0658]: the `#[needs_panic_runtime]` attribute is an experimental feature
  --> $DIR/needs-gate.rs:5:1
   |
LL | #![needs_panic_runtime]
   | ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #32837 <https://github.com/rust-lang/rust/issues/32837> for more information
   = help: add `#![feature(needs_panic_runtime)]` to the crate attributes to enable

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.