summary refs log tree commit diff
path: root/src/test/ui/consts/inline_asm.stderr
blob: 6fb6b69d220ca58538262b310cdc88570803ef1e (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0015]: inline assembly is not allowed in constants
  --> $DIR/inline_asm.rs:3:24
   |
LL | const _: () = unsafe { llvm_asm!("nop") };
   |                        ^^^^^^^^^^^^^^^^
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to previous error

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