about summary refs log tree commit diff
path: root/src/test/ui/consts/miri_unleashed/inline_asm.stderr
blob: d372b4a5d25c0a199804ab744bbff0aeedcc455d (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:10:14
   |
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)

error[E0080]: could not evaluate static initializer
  --> $DIR/inline_asm.rs:19: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:10:14
   |
LL |     unsafe { llvm_asm!("xor %eax, %eax" ::: "eax"); }
   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: skipping check that does not even have a feature gate
  --> $DIR/inline_asm.rs:19:14
   |
LL |     unsafe { asm!("nop"); }
   |              ^^^^^^^^^^^^
   = note: this warning originates in a macro (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`.