2021-05-13 09:20:51 -05:00
|
|
|
error[E0133]: use of inline assembly is unsafe and requires unsafe function or block
|
2021-08-17 20:43:09 -05:00
|
|
|
--> $DIR/inline_asm.rs:10:5
|
2021-05-13 09:20:51 -05:00
|
|
|
|
|
|
|
|
LL | asm!("nop");
|
2021-10-14 13:28:28 -05:00
|
|
|
| ^^^^^^^^^^^ use of inline assembly
|
2021-05-13 09:20:51 -05:00
|
|
|
|
|
|
|
|
= note: inline assembly is entirely unchecked and can cause undefined behavior
|
|
|
|
|
|
|
|
error[E0133]: use of inline assembly is unsafe and requires unsafe function or block
|
2021-08-17 20:43:09 -05:00
|
|
|
--> $DIR/inline_asm.rs:11:5
|
2021-05-13 09:20:51 -05:00
|
|
|
|
|
|
|
|
LL | llvm_asm!("nop");
|
2021-10-14 13:28:28 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^ use of inline assembly
|
2021-05-13 09:20:51 -05:00
|
|
|
|
|
|
|
|
= note: inline assembly is entirely unchecked and can cause undefined behavior
|
|
|
|
= note: this error originates in the macro `llvm_asm` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0133`.
|