Skip to content

Commit afdafcb

Browse files
committed
fix feature-gate test for may_unwind
1 parent 233dede commit afdafcb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/test/ui/feature-gates/feature-gate-asm_unwind.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// only-x86_64
2+
13
#![feature(asm)]
24

35
fn main() {

src/test/ui/feature-gates/feature-gate-asm_unwind.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0658]: the `may_unwind` option is unstable
2-
--> $DIR/feature-gate-asm_unwind.rs:5:9
2+
--> $DIR/feature-gate-asm_unwind.rs:7:9
33
|
44
LL | asm!("", options(may_unwind));
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)