]> git.lizzy.rs Git - rust.git/blob - src/test/ui/codemap_tests/bad-format-args.stderr
:arrow_up: rust-analyzer
[rust.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 the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info)
8
9 error: expected `,`, found `1`
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