summary refs log tree commit diff
path: root/src/test/ui/asm/rustfix-asm.stderr
blob: 334499c6fd8974b6f3100c7fc59603d92482997f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
error: the legacy LLVM-style asm! syntax is no longer supported
  --> $DIR/rustfix-asm.rs:10:9
   |
LL |         asm!("" :: "r" (x));
   |         ----^^^^^^^^^^^^^^^^
   |         |
   |         help: replace with: `llvm_asm!`
   |
   = note: consider migrating to the new asm! syntax specified in RFC 2873
   = note: alternatively, switch to llvm_asm! to keep your code working as it is

error: the legacy LLVM-style asm! syntax is no longer supported
  --> $DIR/rustfix-asm.rs:12:9
   |
LL |         asm!("" : "=r" (y));
   |         ----^^^^^^^^^^^^^^^^
   |         |
   |         help: replace with: `llvm_asm!`
   |
   = note: consider migrating to the new asm! syntax specified in RFC 2873
   = note: alternatively, switch to llvm_asm! to keep your code working as it is

error: aborting due to 2 previous errors