]> git.lizzy.rs Git - rust.git/blob - tests/ui/unsafe/inline_asm.mir.stderr
Rollup merge of #106797 - FawazTirmizi:dev/issues/104284, r=bjorn3
[rust.git] / tests / ui / unsafe / inline_asm.mir.stderr
1 error[E0133]: use of inline assembly is unsafe and requires unsafe function or block
2   --> $DIR/inline_asm.rs:8:5
3    |
4 LL |     asm!("nop");
5    |     ^^^^^^^^^^^ use of inline assembly
6    |
7    = note: inline assembly is entirely unchecked and can cause undefined behavior
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0133`.