summaryrefslogtreecommitdiffstats
path: root/src/test/ui/unsafe/inline_asm.thir.stderr
blob: 633f1edb26cef567dca1bd1a7194a07b0be1a26e (plain)
1
2
3
4
5
6
7
8
9
10
11
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: aborting due to previous error

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