rust/tests/ui/unsafe/inline_asm.mir.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
380 B
Plaintext
Raw Normal View History

error[E0133]: use of inline assembly is unsafe and requires unsafe function or block
--> $DIR/inline_asm.rs:8:5
|
LL | asm!("nop");
2021-10-14 13:28:28 -05:00
| ^^^^^^^^^^^ 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`.