summaryrefslogtreecommitdiff
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.stderr8
1 files changed, 4 insertions, 4 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 3b69186f1e1..c198e0a69dd 100644
--- a/src/test/ui/asm/bad-template.x86_64_thirunsafeck.stderr
+++ b/src/test/ui/asm/bad-template.x86_64_thirunsafeck.stderr
@@ -23,10 +23,10 @@ LL | asm!("{1}", in(reg) foo);
= help: if this argument is intentionally unused, consider using it in an asm comment: `"/* {0} */"`
error: there is no argument named `a`
- --> $DIR/bad-template.rs:36:15
+ --> $DIR/bad-template.rs:36:16
|
LL | asm!("{a}");
- | ^^^
+ | ^
error: invalid reference to argument at index 0
--> $DIR/bad-template.rs:38:15
@@ -123,10 +123,10 @@ LL | global_asm!("{1}", const FOO);
= help: if this argument is intentionally unused, consider using it in an asm comment: `"/* {0} */"`
error: there is no argument named `a`
- --> $DIR/bad-template.rs:63:14
+ --> $DIR/bad-template.rs:63:15
|
LL | global_asm!("{a}");
- | ^^^
+ | ^
error: invalid reference to argument at index 0
--> $DIR/bad-template.rs:65:14