summary refs log tree commit diff
path: root/src/test/ui/codemap_tests/bad-format-args.stderr
blob: 87255dfe7747673b7be9b215df55da55c16fb64c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
error: requires at least a format string argument
  --> $DIR/bad-format-args.rs:12:5
   |
12 |     format!();
   |     ^^^^^^^^^^
   |
   = note: this error originates in a macro outside of the current crate

error: expected token: `,`
  --> $DIR/bad-format-args.rs:13:5
   |
13 |     format!("" 1);
   |     ^^^^^^^^^^^^^^
   |
   = note: this error originates in a macro outside of the current crate

error: expected token: `,`
  --> $DIR/bad-format-args.rs:14:5
   |
14 |     format!("", 1 1);
   |     ^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in a macro outside of the current crate

error: aborting due to 3 previous errors