]> git.proxmox.com Git - rustc.git/blob - src/test/ui/codemap_tests/bad-format-args.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / codemap_tests / bad-format-args.stderr
1 error: requires at least a format string argument
2 --> $DIR/bad-format-args.rs:2:5
3 |
4 LL | format!();
5 | ^^^^^^^^^^
6 |
7 = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
8
9 error: expected token: `,`
10 --> $DIR/bad-format-args.rs:3:16
11 |
12 LL | format!("" 1);
13 | ^ expected `,`
14
15 error: expected one of `,`, `.`, `?`, or an operator, found `1`
16 --> $DIR/bad-format-args.rs:4:19
17 |
18 LL | format!("", 1 1);
19 | ^ expected one of `,`, `.`, `?`, or an operator
20
21 error: aborting due to 3 previous errors
22