about summary refs log tree commit diff
path: root/src/test/run-pass/panic-handler-set-twice.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/panic-handler-set-twice.rs')
-rw-r--r--src/test/run-pass/panic-handler-set-twice.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/run-pass/panic-handler-set-twice.rs b/src/test/run-pass/panic-handler-set-twice.rs
index 196e08a63a7..8bf2683cd9f 100644
--- a/src/test/run-pass/panic-handler-set-twice.rs
+++ b/src/test/run-pass/panic-handler-set-twice.rs
@@ -7,7 +7,8 @@
 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
-#![feature(panic_handler, const_fn, std_panic)]
+#![feature(panic_handler, std_panic)]
+#![feature(const_atomic_usize_new)]
 
 // ignore-emscripten no threads support