fix feature-gate test for may_unwind
This commit is contained in:
parent
233dede5b6
commit
afdafcbcf8
2 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
// only-x86_64
|
||||||
|
|
||||||
#![feature(asm)]
|
#![feature(asm)]
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
error[E0658]: the `may_unwind` option is unstable
|
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));
|
LL | asm!("", options(may_unwind));
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue