]> git.lizzy.rs Git - rust.git/blob - tests/ui/fmt/incorrect-separator.stderr
Rollup merge of #106397 - compiler-errors:new-solver-impl-wc, r=lcnr
[rust.git] / tests / ui / fmt / incorrect-separator.stderr
1 error: unknown start of token: \u{326}
2   --> $DIR/incorrect-separator.rs:19:28
3    |
4 LL |     format!("A number: {}" ̦ iter::once(42).next().unwrap());
5    |                            ^
6
7 error: expected `,`, found `.`
8   --> $DIR/incorrect-separator.rs:7:27
9    |
10 LL |     format!("A number: {}". iter::once(42).next().unwrap());
11    |                           ^ expected `,`
12
13 error: expected `,`, found `/`
14   --> $DIR/incorrect-separator.rs:12:28
15    |
16 LL |     format!("A number: {}" / iter::once(42).next().unwrap());
17    |                            ^ expected `,`
18
19 error: expected `,`, found `;`
20   --> $DIR/incorrect-separator.rs:15:27
21    |
22 LL |     format!("A number: {}"; iter::once(42).next().unwrap());
23    |                           ^ expected `,`
24
25 error: expected `,`, found `iter`
26   --> $DIR/incorrect-separator.rs:19:30
27    |
28 LL |     format!("A number: {}" ̦ iter::once(42).next().unwrap());
29    |                             ^^^^ expected `,`
30
31 error: expected `,`, found `.`
32   --> $DIR/incorrect-separator.rs:26:17
33    |
34 LL |     format!("{}". compile_error!("fail"));
35    |                 ^ expected `,`
36
37 error: fail
38   --> $DIR/incorrect-separator.rs:26:19
39    |
40 LL |     format!("{}". compile_error!("fail"));
41    |                   ^^^^^^^^^^^^^^^^^^^^^^
42
43 error: aborting due to 7 previous errors
44