summary refs log tree commit diff
path: root/src/test/ui/consts/miri_unleashed/inline_asm.stderr
blob: 34ac808ed1702415d796ce08090d9140ec6a9b21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
error[E0080]: could not evaluate static initializer
  --> $DIR/inline_asm.rs:13:14
   |
LL |     unsafe { llvm_asm!("xor %eax, %eax" ::: "eax"); }
   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ inline assembly is not supported
   |
   = note: this error originates in the macro `llvm_asm` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0080]: could not evaluate static initializer
  --> $DIR/inline_asm.rs:22:14
   |
LL |     unsafe { asm!("nop"); }
   |              ^^^^^^^^^^^ inline assembly is not supported

warning: skipping const checks
   |
help: skipping check that does not even have a feature gate
  --> $DIR/inline_asm.rs:13:14
   |
LL |     unsafe { llvm_asm!("xor %eax, %eax" ::: "eax"); }
   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: skipping check that does not even have a feature gate
  --> $DIR/inline_asm.rs:22:14
   |
LL |     unsafe { asm!("nop"); }
   |              ^^^^^^^^^^^
   = note: this warning originates in the macro `llvm_asm` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 2 previous errors; 1 warning emitted

For more information about this error, try `rustc --explain E0080`.