summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-75307.stderr
blob: 10c952006c208d196305c636d0b3c6be4a7e76f3 (plain)
1
2
3
4
5
6
7
8
9
10
error: invalid reference to positional arguments 1 and 2 (there is 1 argument)
  --> $DIR/issue-75307.rs:2:17
   |
LL |     format!(r"{}{}{}", named_arg=1);
   |                 ^^^^
   |
   = note: positional arguments are zero-based

error: aborting due to previous error