rust/tests/ui/unsafe/inline_asm.thir.stderr
2023-01-11 09:32:08 +00:00

12 lines
380 B
Plaintext

error[E0133]: use of inline assembly is unsafe and requires unsafe function or block
--> $DIR/inline_asm.rs:8:5
|
LL | asm!("nop");
| ^^^^^^^^^^^ use of inline assembly
|
= note: inline assembly is entirely unchecked and can cause undefined behavior
error: aborting due to previous error
For more information about this error, try `rustc --explain E0133`.