summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-75307.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/issues/issue-75307.stderr')
-rw-r--r--src/test/ui/issues/issue-75307.stderr8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/test/ui/issues/issue-75307.stderr b/src/test/ui/issues/issue-75307.stderr
index 10c952006..c5b0b11e7 100644
--- a/src/test/ui/issues/issue-75307.stderr
+++ b/src/test/ui/issues/issue-75307.stderr
@@ -1,10 +1,8 @@
-error: invalid reference to positional arguments 1 and 2 (there is 1 argument)
- --> $DIR/issue-75307.rs:2:17
+error: 3 positional arguments in format string, but there is 1 argument
+ --> $DIR/issue-75307.rs:2:15
|
LL | format!(r"{}{}{}", named_arg=1);
- | ^^^^
- |
- = note: positional arguments are zero-based
+ | ^^^^^^ -
error: aborting due to previous error