rust/src/test/ui/panic-runtime/needs-gate.stderr

22 lines
774 B
Plaintext
Raw Normal View History

2019-04-10 18:40:12 -05:00
error[E0658]: the `#[panic_runtime]` attribute is an experimental feature
2018-12-25 09:56:47 -06:00
--> $DIR/needs-gate.rs:4:1
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | #![panic_runtime]
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/32837
2018-08-08 07:28:26 -05:00
= help: add #![feature(panic_runtime)] to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: the `#[needs_panic_runtime]` attribute is an experimental feature
2018-12-25 09:56:47 -06:00
--> $DIR/needs-gate.rs:5:1
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | #![needs_panic_runtime]
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/32837
2018-08-08 07:28:26 -05:00
= 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`.