about summary refs log tree commit diff
path: root/src/test/codegen/asm-may_unwind.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/codegen/asm-may_unwind.rs')
-rw-r--r--src/test/codegen/asm-may_unwind.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/codegen/asm-may_unwind.rs b/src/test/codegen/asm-may_unwind.rs
index 85cae8b2b1c..3b34d79c3a9 100644
--- a/src/test/codegen/asm-may_unwind.rs
+++ b/src/test/codegen/asm-may_unwind.rs
@@ -3,7 +3,9 @@
 // only-x86_64
 
 #![crate_type = "rlib"]
-#![feature(asm, asm_unwind)]
+#![feature(asm_unwind)]
+
+use std::arch::asm;
 
 #[no_mangle]
 pub extern "C" fn panicky() {}