diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/panic-runtime/needs-gate.stderr | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/test/ui/panic-runtime/needs-gate.stderr b/src/test/ui/panic-runtime/needs-gate.stderr new file mode 100644 index 000000000..e067ccaeb --- /dev/null +++ b/src/test/ui/panic-runtime/needs-gate.stderr @@ -0,0 +1,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`. |