summaryrefslogtreecommitdiffstats
path: root/src/test/ui/asm/bad-template.x86_64_thirunsafeck.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/asm/bad-template.x86_64_thirunsafeck.stderr')
-rw-r--r--src/test/ui/asm/bad-template.x86_64_thirunsafeck.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/asm/bad-template.x86_64_thirunsafeck.stderr b/src/test/ui/asm/bad-template.x86_64_thirunsafeck.stderr
index 250bc3be4..b29b74bac 100644
--- a/src/test/ui/asm/bad-template.x86_64_thirunsafeck.stderr
+++ b/src/test/ui/asm/bad-template.x86_64_thirunsafeck.stderr
@@ -190,8 +190,8 @@ LL | asm!("{:foo}", in(reg) foo);
| ^^^^^^ --- for this argument
|
= note: `#[warn(asm_sub_register)]` on by default
- = help: use the `e` modifier to have the register formatted as `eax`
- = help: or use the `r` modifier to keep the default formatting of `rax`
+ = help: use `{0:e}` to have the register formatted as `eax`
+ = help: or use `{0:r}` to keep the default formatting of `rax`
error: aborting due to 21 previous errors; 1 warning emitted