]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/issue-62973.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / parser / issue-62973.stderr
1 error: this file contains an un-closed delimiter
2 --> $DIR/issue-62973.rs:8:2
3 |
4 LL | fn p() { match s { v, E { [) {) }
5 | - - un-closed delimiter
6 | |
7 | un-closed delimiter
8 LL |
9 LL |
10 | ^
11
12 error: expected one of `,` or `}`, found `{`
13 --> $DIR/issue-62973.rs:6:25
14 |
15 LL | fn p() { match s { v, E { [) {) }
16 | - - -^ expected one of `,` or `}`
17 | | | |
18 | | | help: `}` may belong here
19 | | while parsing this struct
20 | unclosed delimiter
21
22 error: struct literals are not allowed here
23 --> $DIR/issue-62973.rs:6:16
24 |
25 LL | fn p() { match s { v, E { [) {) }
26 | ________________^
27 LL | |
28 LL | |
29 | |_^
30 |
31 help: surround the struct literal with parentheses
32 |
33 LL | fn p() { match (s { v, E { [) {) }
34 LL |
35 LL | )
36 |
37
38 error: expected one of `.`, `?`, `{`, or an operator, found `}`
39 --> $DIR/issue-62973.rs:8:2
40 |
41 LL | fn p() { match s { v, E { [) {) }
42 | ----- while parsing this match expression
43 LL |
44 LL |
45 | ^ expected one of `.`, `?`, `{`, or an operator
46
47 error: incorrect close delimiter: `)`
48 --> $DIR/issue-62973.rs:6:28
49 |
50 LL | fn p() { match s { v, E { [) {) }
51 | -^ incorrect close delimiter
52 | |
53 | un-closed delimiter
54
55 error: incorrect close delimiter: `)`
56 --> $DIR/issue-62973.rs:6:31
57 |
58 LL | fn p() { match s { v, E { [) {) }
59 | -^ incorrect close delimiter
60 | |
61 | un-closed delimiter
62
63 error: aborting due to 6 previous errors
64