]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unsafe/inline_asm.mir.stderr
Auto merge of #84589 - In-line:zircon-thread-name, r=JohnTitor
[rust.git] / src / test / 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[E0133]: use of inline assembly is unsafe and requires unsafe function or block
10   --> $DIR/inline_asm.rs:9:5
11    |
12 LL |     llvm_asm!("nop");
13    |     ^^^^^^^^^^^^^^^^^ use of inline assembly
14    |
15    = note: inline assembly is entirely unchecked and can cause undefined behavior
16    = note: this error originates in the macro `llvm_asm` (in Nightly builds, run with -Z macro-backtrace for more info)
17
18 error: aborting due to 2 previous errors
19
20 For more information about this error, try `rustc --explain E0133`.