2020-09-30 11:58:01 -05:00
|
|
|
error[E0015]: inline assembly is not allowed in constants
|
2021-11-03 11:10:09 -05:00
|
|
|
--> $DIR/inline_asm.rs:5:24
|
2020-04-19 18:03:35 -05:00
|
|
|
|
|
2021-07-29 12:45:13 -05:00
|
|
|
LL | const _: () = unsafe { asm!("nop") };
|
|
|
|
| ^^^^^^^^^^^
|
2020-04-19 18:03:35 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2020-09-30 11:58:01 -05:00
|
|
|
For more information about this error, try `rustc --explain E0015`.
|