rust/src/test/ui/consts/inline_asm.stderr
2020-09-30 11:29:25 -07:00

11 lines
406 B
Text

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`.