rust/src/test/ui/consts/miri_unleashed/inline_asm.stderr

32 lines
1.2 KiB
Plaintext
Raw Normal View History

2020-04-19 05:05:28 -05:00
error[E0080]: could not evaluate static initializer
2020-04-19 13:21:26 -05:00
--> $DIR/inline_asm.rs:10:14
2020-04-19 05:05:28 -05:00
|
LL | unsafe { llvm_asm!("xor %eax, %eax" ::: "eax"); }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ inline assembly is not supported
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
2020-06-01 13:53:45 -05:00
error[E0080]: could not evaluate static initializer
--> $DIR/inline_asm.rs:19:14
|
LL | unsafe { asm!("nop"); }
| ^^^^^^^^^^^^ inline assembly is not supported
2020-05-03 07:23:08 -05:00
warning: skipping const checks
|
help: skipping check that does not even have a feature gate
--> $DIR/inline_asm.rs:10:14
|
LL | unsafe { llvm_asm!("xor %eax, %eax" ::: "eax"); }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2020-06-01 13:53:45 -05:00
help: skipping check that does not even have a feature gate
--> $DIR/inline_asm.rs:19:14
|
LL | unsafe { asm!("nop"); }
| ^^^^^^^^^^^^
2020-05-03 07:23:08 -05:00
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
2020-06-01 13:53:45 -05:00
error: aborting due to 2 previous errors; 1 warning emitted
2020-04-19 05:05:28 -05:00
For more information about this error, try `rustc --explain E0080`.