]> git.lizzy.rs Git - rust.git/blob - tests/ui/unsafe/inline_asm.thir.stderr
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / unsafe / inline_asm.thir.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`.