about summary refs log tree commit diff
path: root/src/test/ui/panic-runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/panic-runtime')
-rw-r--r--src/test/ui/panic-runtime/needs-gate.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/panic-runtime/needs-gate.stderr b/src/test/ui/panic-runtime/needs-gate.stderr
index 75ddda79b2d..5b8ff82d1fd 100644
--- a/src/test/ui/panic-runtime/needs-gate.stderr
+++ b/src/test/ui/panic-runtime/needs-gate.stderr
@@ -1,7 +1,7 @@
 error[E0658]: the `#[panic_runtime]` attribute is an experimental feature (see issue #32837)
   --> $DIR/needs-gate.rs:4:1
    |
-LL | #![panic_runtime] //~ ERROR: is an experimental feature
+LL | #![panic_runtime]
    | ^^^^^^^^^^^^^^^^^
    |
    = help: add #![feature(panic_runtime)] to the crate attributes to enable
@@ -9,7 +9,7 @@ LL | #![panic_runtime] //~ ERROR: is an experimental feature
 error[E0658]: the `#[needs_panic_runtime]` attribute is an experimental feature (see issue #32837)
   --> $DIR/needs-gate.rs:5:1
    |
-LL | #![needs_panic_runtime] //~ ERROR: is an experimental feature
+LL | #![needs_panic_runtime]
    | ^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: add #![feature(needs_panic_runtime)] to the crate attributes to enable