]> git.proxmox.com Git - rustc.git/blob - src/test/ui/unsafe/inline_asm.mir.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.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:10: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:11: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`.