summaryrefslogtreecommitdiffstats
path: root/tests/ui/fmt/incorrect-separator.stderr
blob: 5a3e5515bb939cfb73e8d17648a807acb3227749 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
error: unknown start of token: \u{326}
  --> $DIR/incorrect-separator.rs:19:28
   |
LL |     format!("A number: {}" ̦ iter::once(42).next().unwrap());
   |                            ^

error: expected `,`, found `.`
  --> $DIR/incorrect-separator.rs:7:27
   |
LL |     format!("A number: {}". iter::once(42).next().unwrap());
   |                           ^ expected `,`

error: expected `,`, found `/`
  --> $DIR/incorrect-separator.rs:12:28
   |
LL |     format!("A number: {}" / iter::once(42).next().unwrap());
   |                            ^ expected `,`

error: expected `,`, found `;`
  --> $DIR/incorrect-separator.rs:15:27
   |
LL |     format!("A number: {}"; iter::once(42).next().unwrap());
   |                           ^ expected `,`

error: expected `,`, found `iter`
  --> $DIR/incorrect-separator.rs:19:30
   |
LL |     format!("A number: {}" ̦ iter::once(42).next().unwrap());
   |                             ^^^^ expected `,`

error: expected `,`, found `.`
  --> $DIR/incorrect-separator.rs:26:17
   |
LL |     format!("{}". compile_error!("fail"));
   |                 ^ expected `,`

error: fail
  --> $DIR/incorrect-separator.rs:26:19
   |
LL |     format!("{}". compile_error!("fail"));
   |                   ^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 7 previous errors