]> git.lizzy.rs Git - rust.git/blob - src/test/ui/asm/rustfix-asm.stderr
Auto merge of #90668 - matthiaskrgr:clippy_nov7, r=jyn514
[rust.git] / src / test / ui / asm / rustfix-asm.stderr
1 error: the legacy LLVM-style asm! syntax is no longer supported
2   --> $DIR/rustfix-asm.rs:11:9
3    |
4 LL |         asm!("" :: "r" (x));
5    |         ----^^^^^^^^^^^^^^^
6    |         |
7    |         help: replace with: `llvm_asm!`
8    |
9    = note: consider migrating to the new asm! syntax specified in RFC 2873
10    = note: alternatively, switch to llvm_asm! to keep your code working as it is
11
12 error: the legacy LLVM-style asm! syntax is no longer supported
13   --> $DIR/rustfix-asm.rs:13:9
14    |
15 LL |         asm!("" : "=r" (y));
16    |         ----^^^^^^^^^^^^^^^
17    |         |
18    |         help: replace with: `llvm_asm!`
19    |
20    = note: consider migrating to the new asm! syntax specified in RFC 2873
21    = note: alternatively, switch to llvm_asm! to keep your code working as it is
22
23 error: aborting due to 2 previous errors
24