diff --git a/src/test/ui/feature-gates/feature-gate-asm_unwind.rs b/src/test/ui/feature-gates/feature-gate-asm_unwind.rs index a7765bef293..c9957ff91d5 100644 --- a/src/test/ui/feature-gates/feature-gate-asm_unwind.rs +++ b/src/test/ui/feature-gates/feature-gate-asm_unwind.rs @@ -1,3 +1,5 @@ +// only-x86_64 + #![feature(asm)] fn main() { diff --git a/src/test/ui/feature-gates/feature-gate-asm_unwind.stderr b/src/test/ui/feature-gates/feature-gate-asm_unwind.stderr index 67a5921a647..6b5bf286e7b 100644 --- a/src/test/ui/feature-gates/feature-gate-asm_unwind.stderr +++ b/src/test/ui/feature-gates/feature-gate-asm_unwind.stderr @@ -1,5 +1,5 @@ error[E0658]: the `may_unwind` option is unstable - --> $DIR/feature-gate-asm_unwind.rs:5:9 + --> $DIR/feature-gate-asm_unwind.rs:7:9 | LL | asm!("", options(may_unwind)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^