summary refs log tree commit diff
path: root/src/test/ui/unsafe/inline_asm.thir.stderr
blob: daacd234eb487f8a31282bffb987957b2765576f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error[E0133]: use of inline assembly is unsafe and requires unsafe function or block
  --> $DIR/inline_asm.rs:8:5
   |
LL |     asm!("nop");
   |     ^^^^^^^^^^^^ use of inline assembly
   |
   = note: inline assembly is entirely unchecked and can cause undefined behavior

error[E0133]: use of inline assembly is unsafe and requires unsafe function or block
  --> $DIR/inline_asm.rs:9:5
   |
LL |     llvm_asm!("nop");
   |     ^^^^^^^^^^^^^^^^^ use of inline assembly
   |
   = note: inline assembly is entirely unchecked and can cause undefined behavior
   = note: this error originates in the macro `llvm_asm` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0133`.