summary refs log tree commit diff
path: root/src/test/ui/consts/miri_unleashed/inline_asm.stderr
blob: ac9191a340c2ee4bc7fc8300c3f6e45ba9603c31 (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:11: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:20: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:11:14
   |
LL |     unsafe { llvm_asm!("xor %eax, %eax" ::: "eax"); }
   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: skipping check that does not even have a feature gate
  --> $DIR/inline_asm.rs:20: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`.