summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-75307.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/issues/issue-75307.rs')
-rw-r--r--src/test/ui/issues/issue-75307.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/issues/issue-75307.rs b/src/test/ui/issues/issue-75307.rs
index 2fe112a3b..cffa6bea8 100644
--- a/src/test/ui/issues/issue-75307.rs
+++ b/src/test/ui/issues/issue-75307.rs
@@ -1,3 +1,3 @@
fn main() {
- format!(r"{}{}{}", named_arg=1); //~ ERROR invalid reference to positional arguments 1 and 2
+ format!(r"{}{}{}", named_arg=1); //~ ERROR 3 positional arguments in format string, but there is 1 argument
}