2020-09-30 11:58:01 -05:00
|
|
|
error[E0015]: inline assembly is not allowed in constants
|
2020-04-21 11:24:41 -05:00
|
|
|
--> $DIR/inline_asm.rs:3: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`.
|