summary refs log tree commit diff
path: root/src/test/ui/codemap_tests/bad-format-args.stderr
blob: 38320416b450984ad6f7d9c2d44a3e460f9f717e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
error: requires at least a format string argument
  --> $DIR/bad-format-args.rs:2:5
   |
LL |     format!(); //~ ERROR requires at least a format string argument
   |     ^^^^^^^^^^
   |
   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: expected token: `,`
  --> $DIR/bad-format-args.rs:3:16
   |
LL |     format!("" 1); //~ ERROR expected token: `,`
   |                ^

error: expected token: `,`
  --> $DIR/bad-format-args.rs:4:19
   |
LL |     format!("", 1 1); //~ ERROR expected token: `,`
   |                   ^

error: aborting due to 3 previous errors