aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/err/0022_bad_exprs.rast
blob: 71fb19783ad155005f3f666be64b4124998a1e1c (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
[email protected]
  [email protected]
    [email protected] "fn"
    [email protected] " "
    [email protected]
      [email protected] "a"
    [email protected]
      [email protected] "("
      [email protected] ")"
    [email protected] " "
    [email protected]
      [email protected] "{"
      [email protected] " "
      [email protected]
        [email protected]
          [email protected] "["
          [email protected]
            [email protected] "1"
          [email protected] ","
          [email protected] " "
          [email protected]
            [email protected] "2"
          [email protected] ","
          [email protected] " "
          [email protected]
            [email protected] "@"
      [email protected]
        [email protected]
          [email protected] ","
      [email protected] " "
      [email protected]
        [email protected] "struct"
        [email protected]
          [email protected] ","
      [email protected] " "
      [email protected]
        [email protected] "let"
        [email protected]
          [email protected] "]"
      [email protected] " "
      [email protected] "}"
  [email protected] "\n"
  [email protected]
    [email protected] "fn"
    [email protected] " "
    [email protected]
      [email protected] "b"
    [email protected]
      [email protected] "("
      [email protected] ")"
    [email protected] " "
    [email protected]
      [email protected] "{"
      [email protected] " "
      [email protected]
        [email protected]
          [email protected]
            [email protected]
              [email protected]
                [email protected]
                  [email protected] "foo"
          [email protected]
            [email protected] "("
            [email protected]
              [email protected] "1"
            [email protected] ","
            [email protected] " "
            [email protected]
              [email protected] "2"
            [email protected] ","
            [email protected] " "
            [email protected]
              [email protected] "@"
      [email protected]
        [email protected]
          [email protected] ","
      [email protected] " "
      [email protected]
        [email protected] "impl"
      [email protected]
        [email protected]
          [email protected] ","
      [email protected] " "
      [email protected]
        [email protected] "let"
      [email protected]
        [email protected] ")"
      [email protected] " "
      [email protected] "}"
  [email protected] "\n"
  [email protected]
    [email protected] "fn"
    [email protected] " "
    [email protected]
      [email protected] "c"
    [email protected]
      [email protected] "("
      [email protected] ")"
    [email protected] " "
    [email protected]
      [email protected] "{"
      [email protected] " "
      [email protected]
        [email protected]
          [email protected]
            [email protected]
              [email protected]
                [email protected]
                  [email protected] "foo"
          [email protected] "."
          [email protected]
            [email protected] "bar"
          [email protected]
            [email protected] "("
            [email protected]
              [email protected] "1"
            [email protected] ","
            [email protected] " "
            [email protected]
              [email protected] "2"
            [email protected] ","
            [email protected] " "
            [email protected]
              [email protected] "@"
      [email protected]
        [email protected]
          [email protected] ","
      [email protected] " "
      [email protected]
        [email protected]
          [email protected] "]"
      [email protected]
        [email protected]
          [email protected] ","
      [email protected] " "
      [email protected]
        [email protected] "trait"
        [email protected]
          [email protected] ","
      [email protected] " "
      [email protected]
        [email protected] "let"
      [email protected]
        [email protected] ")"
      [email protected] " "
      [email protected] "}"
  [email protected] "\n"
error 16..16: expected expression
error 17..17: expected R_BRACK
error 17..17: expected SEMICOLON
error 17..17: expected expression
error 18..18: expected SEMICOLON
error 25..25: expected a name
error 26..26: expected `;`, `{`, or `(`
error 30..30: expected pattern
error 31..31: expected SEMICOLON
error 53..53: expected expression
error 54..54: expected SEMICOLON
error 54..54: expected expression
error 55..55: expected SEMICOLON
error 60..60: expected type
error 60..60: expected `{`
error 60..60: expected expression
error 61..61: expected SEMICOLON
error 65..65: expected pattern
error 65..65: expected SEMICOLON
error 65..65: expected expression
error 92..92: expected expression
error 93..93: expected SEMICOLON
error 93..93: expected expression
error 94..94: expected SEMICOLON
error 95..95: expected expression
error 96..96: expected SEMICOLON
error 96..96: expected expression
error 97..97: expected SEMICOLON
error 103..103: expected a name
error 104..104: expected `{`
error 108..108: expected pattern
error 108..108: expected SEMICOLON
error 108..108: expected expression