diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-16 17:08:03 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-16 17:08:03 +0000 |
commit | 067067a6c11bb5afda98f5af14bfdec4744e7812 (patch) | |
tree | 1c0b6c4c78ee040ebdf818dada804fce311382a6 /crates/syntax/test_data/parser/ok | |
parent | 63bbdb31e5148c804bbf940963c9c8f3481ad258 (diff) | |
parent | dd496223f50232fe98312ee8edc89eb4b5ee3d85 (diff) |
Merge #6896
6896: Node-ify lifetimes r=jonas-schievink a=Veykril
Let's see if this passes the tests 🤞
Depends on https://github.com/rust-analyzer/ungrammar/pull/15
Co-authored-by: Jonas Schievink <[email protected]>
Co-authored-by: Jonas Schievink <[email protected]>
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/syntax/test_data/parser/ok')
8 files changed, 139 insertions, 72 deletions
diff --git a/crates/syntax/test_data/parser/ok/0018_struct_type_params.rast b/crates/syntax/test_data/parser/ok/0018_struct_type_params.rast index 630aa0708..83e17757b 100644 --- a/crates/syntax/test_data/parser/ok/0018_struct_type_params.rast +++ b/crates/syntax/test_data/parser/ok/0018_struct_type_params.rast | |||
@@ -80,7 +80,8 @@ [email protected] | |||
80 | [email protected] | 80 | [email protected] |
81 | [email protected] "<" | 81 | [email protected] "<" |
82 | [email protected] | 82 | [email protected] |
83 | [email protected] "\'a" | 83 | [email protected] |
84 | [email protected] "\'a" | ||
84 | [email protected] ">" | 85 | [email protected] ">" |
85 | [email protected] ";" | 86 | [email protected] ";" |
86 | [email protected] "\n" | 87 | [email protected] "\n" |
@@ -92,7 +93,8 @@ [email protected] | |||
92 | [email protected] | 93 | [email protected] |
93 | [email protected] "<" | 94 | [email protected] "<" |
94 | [email protected] | 95 | [email protected] |
95 | [email protected] "\'a" | 96 | [email protected] |
97 | [email protected] "\'a" | ||
96 | [email protected] ":" | 98 | [email protected] ":" |
97 | [email protected] ">" | 99 | [email protected] ">" |
98 | [email protected] ";" | 100 | [email protected] ";" |
@@ -105,10 +107,12 @@ [email protected] | |||
105 | [email protected] | 107 | [email protected] |
106 | [email protected] "<" | 108 | [email protected] "<" |
107 | [email protected] | 109 | [email protected] |
108 | [email protected] "\'a" | 110 | [email protected] |
111 | [email protected] "\'a" | ||
109 | [email protected] ":" | 112 | [email protected] ":" |
110 | [email protected] " " | 113 | [email protected] " " |
111 | [email protected] "\'b" | 114 | [email protected] |
115 | [email protected] "\'b" | ||
112 | [email protected] ">" | 116 | [email protected] ">" |
113 | [email protected] ";" | 117 | [email protected] ";" |
114 | [email protected] "\n" | 118 | [email protected] "\n" |
@@ -120,10 +124,12 @@ [email protected] | |||
120 | [email protected] | 124 | [email protected] |
121 | [email protected] "<" | 125 | [email protected] "<" |
122 | [email protected] | 126 | [email protected] |
123 | [email protected] "\'a" | 127 | [email protected] |
128 | [email protected] "\'a" | ||
124 | [email protected] ":" | 129 | [email protected] ":" |
125 | [email protected] " " | 130 | [email protected] " " |
126 | [email protected] "\'b" | 131 | [email protected] |
132 | [email protected] "\'b" | ||
127 | [email protected] " " | 133 | [email protected] " " |
128 | [email protected] "+" | 134 | [email protected] "+" |
129 | [email protected] " " | 135 | [email protected] " " |
@@ -138,14 +144,17 @@ [email protected] | |||
138 | [email protected] | 144 | [email protected] |
139 | [email protected] "<" | 145 | [email protected] "<" |
140 | [email protected] | 146 | [email protected] |
141 | [email protected] "\'a" | 147 | [email protected] |
148 | [email protected] "\'a" | ||
142 | [email protected] ":" | 149 | [email protected] ":" |
143 | [email protected] " " | 150 | [email protected] " " |
144 | [email protected] "\'b" | 151 | [email protected] |
152 | [email protected] "\'b" | ||
145 | [email protected] " " | 153 | [email protected] " " |
146 | [email protected] "+" | 154 | [email protected] "+" |
147 | [email protected] " " | 155 | [email protected] " " |
148 | [email protected] "\'c" | 156 | [email protected] |
157 | [email protected] "\'c" | ||
149 | [email protected] ">" | 158 | [email protected] ">" |
150 | [email protected] ";" | 159 | [email protected] ";" |
151 | [email protected] "\n" | 160 | [email protected] "\n" |
@@ -157,7 +166,8 @@ [email protected] | |||
157 | [email protected] | 166 | [email protected] |
158 | [email protected] "<" | 167 | [email protected] "<" |
159 | [email protected] | 168 | [email protected] |
160 | [email protected] "\'a" | 169 | [email protected] |
170 | [email protected] "\'a" | ||
161 | [email protected] "," | 171 | [email protected] "," |
162 | [email protected] ">" | 172 | [email protected] ">" |
163 | [email protected] ";" | 173 | [email protected] ";" |
@@ -170,11 +180,13 @@ [email protected] | |||
170 | [email protected] | 180 | [email protected] |
171 | [email protected] "<" | 181 | [email protected] "<" |
172 | [email protected] | 182 | [email protected] |
173 | [email protected] "\'a" | 183 | [email protected] |
184 | [email protected] "\'a" | ||
174 | [email protected] "," | 185 | [email protected] "," |
175 | [email protected] " " | 186 | [email protected] " " |
176 | [email protected] | 187 | [email protected] |
177 | [email protected] "\'b" | 188 | [email protected] |
189 | [email protected] "\'b" | ||
178 | [email protected] ">" | 190 | [email protected] ">" |
179 | [email protected] ";" | 191 | [email protected] ";" |
180 | [email protected] "\n" | 192 | [email protected] "\n" |
@@ -186,18 +198,22 @@ [email protected] | |||
186 | [email protected] | 198 | [email protected] |
187 | [email protected] "<" | 199 | [email protected] "<" |
188 | [email protected] | 200 | [email protected] |
189 | [email protected] "\'a" | 201 | [email protected] |
202 | [email protected] "\'a" | ||
190 | [email protected] ":" | 203 | [email protected] ":" |
191 | [email protected] " " | 204 | [email protected] " " |
192 | [email protected] "\'b" | 205 | [email protected] |
206 | [email protected] "\'b" | ||
193 | [email protected] "+" | 207 | [email protected] "+" |
194 | [email protected] "," | 208 | [email protected] "," |
195 | [email protected] " " | 209 | [email protected] " " |
196 | [email protected] | 210 | [email protected] |
197 | [email protected] "\'b" | 211 | [email protected] |
212 | [email protected] "\'b" | ||
198 | [email protected] ":" | 213 | [email protected] ":" |
199 | [email protected] " " | 214 | [email protected] " " |
200 | [email protected] "\'c" | 215 | [email protected] |
216 | [email protected] "\'c" | ||
201 | [email protected] "," | 217 | [email protected] "," |
202 | [email protected] ">" | 218 | [email protected] ">" |
203 | [email protected] ";" | 219 | [email protected] ";" |
@@ -241,7 +257,8 @@ [email protected] | |||
241 | [email protected] | 257 | [email protected] |
242 | [email protected] "<" | 258 | [email protected] "<" |
243 | [email protected] | 259 | [email protected] |
244 | [email protected] "\'a" | 260 | [email protected] |
261 | [email protected] "\'a" | ||
245 | [email protected] "," | 262 | [email protected] "," |
246 | [email protected] " " | 263 | [email protected] " " |
247 | [email protected] | 264 | [email protected] |
diff --git a/crates/syntax/test_data/parser/ok/0020_type_param_bounds.rast b/crates/syntax/test_data/parser/ok/0020_type_param_bounds.rast index 9bdc50e1e..0612a71de 100644 --- a/crates/syntax/test_data/parser/ok/0020_type_param_bounds.rast +++ b/crates/syntax/test_data/parser/ok/0020_type_param_bounds.rast | |||
@@ -41,7 +41,8 @@ [email protected] | |||
41 | [email protected] " " | 41 | [email protected] " " |
42 | [email protected] | 42 | [email protected] |
43 | [email protected] | 43 | [email protected] |
44 | [email protected] "\'a" | 44 | [email protected] |
45 | [email protected] "\'a" | ||
45 | [email protected] ">" | 46 | [email protected] ">" |
46 | [email protected] ";" | 47 | [email protected] ";" |
47 | [email protected] "\n" | 48 | [email protected] "\n" |
@@ -59,7 +60,8 @@ [email protected] | |||
59 | [email protected] " " | 60 | [email protected] " " |
60 | [email protected] | 61 | [email protected] |
61 | [email protected] | 62 | [email protected] |
62 | [email protected] "\'a" | 63 | [email protected] |
64 | [email protected] "\'a" | ||
63 | [email protected] " " | 65 | [email protected] " " |
64 | [email protected] "+" | 66 | [email protected] "+" |
65 | [email protected] " " | 67 | [email protected] " " |
@@ -80,12 +82,14 @@ [email protected] | |||
80 | [email protected] " " | 82 | [email protected] " " |
81 | [email protected] | 83 | [email protected] |
82 | [email protected] | 84 | [email protected] |
83 | [email protected] "\'a" | 85 | [email protected] |
86 | [email protected] "\'a" | ||
84 | [email protected] " " | 87 | [email protected] " " |
85 | [email protected] "+" | 88 | [email protected] "+" |
86 | [email protected] " " | 89 | [email protected] " " |
87 | [email protected] | 90 | [email protected] |
88 | [email protected] "\'d" | 91 | [email protected] |
92 | [email protected] "\'d" | ||
89 | [email protected] " " | 93 | [email protected] " " |
90 | [email protected] ">" | 94 | [email protected] ">" |
91 | [email protected] ";" | 95 | [email protected] ";" |
@@ -104,12 +108,14 @@ [email protected] | |||
104 | [email protected] " " | 108 | [email protected] " " |
105 | [email protected] | 109 | [email protected] |
106 | [email protected] | 110 | [email protected] |
107 | [email protected] "\'a" | 111 | [email protected] |
112 | [email protected] "\'a" | ||
108 | [email protected] " " | 113 | [email protected] " " |
109 | [email protected] "+" | 114 | [email protected] "+" |
110 | [email protected] " " | 115 | [email protected] " " |
111 | [email protected] | 116 | [email protected] |
112 | [email protected] "\'d" | 117 | [email protected] |
118 | [email protected] "\'d" | ||
113 | [email protected] " " | 119 | [email protected] " " |
114 | [email protected] "+" | 120 | [email protected] "+" |
115 | [email protected] " " | 121 | [email protected] " " |
@@ -190,7 +196,8 @@ [email protected] | |||
190 | [email protected] "+" | 196 | [email protected] "+" |
191 | [email protected] " " | 197 | [email protected] " " |
192 | [email protected] | 198 | [email protected] |
193 | [email protected] "\'a" | 199 | [email protected] |
200 | [email protected] "\'a" | ||
194 | [email protected] ">" | 201 | [email protected] ">" |
195 | [email protected] ";" | 202 | [email protected] ";" |
196 | [email protected] "\n" | 203 | [email protected] "\n" |
@@ -225,21 +232,26 @@ [email protected] | |||
225 | [email protected] | 232 | [email protected] |
226 | [email protected] "<" | 233 | [email protected] "<" |
227 | [email protected] | 234 | [email protected] |
228 | [email protected] "\'a" | 235 | [email protected] |
236 | [email protected] "\'a" | ||
229 | [email protected] ":" | 237 | [email protected] ":" |
230 | [email protected] " " | 238 | [email protected] " " |
231 | [email protected] "\'d" | 239 | [email protected] |
240 | [email protected] "\'d" | ||
232 | [email protected] "," | 241 | [email protected] "," |
233 | [email protected] " " | 242 | [email protected] " " |
234 | [email protected] | 243 | [email protected] |
235 | [email protected] "\'d" | 244 | [email protected] |
245 | [email protected] "\'d" | ||
236 | [email protected] ":" | 246 | [email protected] ":" |
237 | [email protected] " " | 247 | [email protected] " " |
238 | [email protected] "\'a" | 248 | [email protected] |
249 | [email protected] "\'a" | ||
239 | [email protected] " " | 250 | [email protected] " " |
240 | [email protected] "+" | 251 | [email protected] "+" |
241 | [email protected] " " | 252 | [email protected] " " |
242 | [email protected] "\'b" | 253 | [email protected] |
254 | [email protected] "\'b" | ||
243 | [email protected] "," | 255 | [email protected] "," |
244 | [email protected] " " | 256 | [email protected] " " |
245 | [email protected] | 257 | [email protected] |
@@ -249,12 +261,14 @@ [email protected] | |||
249 | [email protected] " " | 261 | [email protected] " " |
250 | [email protected] | 262 | [email protected] |
251 | [email protected] | 263 | [email protected] |
252 | [email protected] "\'a" | 264 | [email protected] |
265 | [email protected] "\'a" | ||
253 | [email protected] " " | 266 | [email protected] " " |
254 | [email protected] "+" | 267 | [email protected] "+" |
255 | [email protected] " " | 268 | [email protected] " " |
256 | [email protected] | 269 | [email protected] |
257 | [email protected] "\'d" | 270 | [email protected] |
271 | [email protected] "\'d" | ||
258 | [email protected] " " | 272 | [email protected] " " |
259 | [email protected] "+" | 273 | [email protected] "+" |
260 | [email protected] " " | 274 | [email protected] " " |
diff --git a/crates/syntax/test_data/parser/ok/0032_where_for.rast b/crates/syntax/test_data/parser/ok/0032_where_for.rast index d59548f21..0cb2eca33 100644 --- a/crates/syntax/test_data/parser/ok/0032_where_for.rast +++ b/crates/syntax/test_data/parser/ok/0032_where_for.rast | |||
@@ -41,7 +41,8 @@ [email protected] | |||
41 | [email protected] | 41 | [email protected] |
42 | [email protected] "<" | 42 | [email protected] "<" |
43 | [email protected] | 43 | [email protected] |
44 | [email protected] "\'de" | 44 | [email protected] |
45 | [email protected] "\'de" | ||
45 | [email protected] ">" | 46 | [email protected] ">" |
46 | [email protected] " " | 47 | [email protected] " " |
47 | [email protected] | 48 | [email protected] |
@@ -52,7 +53,8 @@ [email protected] | |||
52 | [email protected] | 53 | [email protected] |
53 | [email protected] "<" | 54 | [email protected] "<" |
54 | [email protected] | 55 | [email protected] |
55 | [email protected] "\'de" | 56 | [email protected] |
57 | [email protected] "\'de" | ||
56 | [email protected] ">" | 58 | [email protected] ">" |
57 | [email protected] " " | 59 | [email protected] " " |
58 | [email protected] "+" | 60 | [email protected] "+" |
diff --git a/crates/syntax/test_data/parser/ok/0033_label_break.rast b/crates/syntax/test_data/parser/ok/0033_label_break.rast index 88800ca7a..487e073ba 100644 --- a/crates/syntax/test_data/parser/ok/0033_label_break.rast +++ b/crates/syntax/test_data/parser/ok/0033_label_break.rast | |||
@@ -16,7 +16,8 @@ [email protected] | |||
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "\'empty_block" | 19 | [email protected] |
20 | [email protected] "\'empty_block" | ||
20 | [email protected] ":" | 21 | [email protected] ":" |
21 | [email protected] " " | 22 | [email protected] " " |
22 | [email protected] | 23 | [email protected] |
@@ -26,7 +27,8 @@ [email protected] | |||
26 | [email protected] | 27 | [email protected] |
27 | [email protected] | 28 | [email protected] |
28 | [email protected] | 29 | [email protected] |
29 | [email protected] "\'block" | 30 | [email protected] |
31 | [email protected] "\'block" | ||
30 | [email protected] ":" | 32 | [email protected] ":" |
31 | [email protected] " " | 33 | [email protected] " " |
32 | [email protected] | 34 | [email protected] |
@@ -66,7 +68,8 @@ [email protected] | |||
66 | [email protected] | 68 | [email protected] |
67 | [email protected] "break" | 69 | [email protected] "break" |
68 | [email protected] " " | 70 | [email protected] " " |
69 | [email protected] "\'block" | 71 | [email protected] |
72 | [email protected] "\'block" | ||
70 | [email protected] ";" | 73 | [email protected] ";" |
71 | [email protected] "\n " | 74 | [email protected] "\n " |
72 | [email protected] "}" | 75 | [email protected] "}" |
@@ -105,7 +108,8 @@ [email protected] | |||
105 | [email protected] | 108 | [email protected] |
106 | [email protected] "break" | 109 | [email protected] "break" |
107 | [email protected] " " | 110 | [email protected] " " |
108 | [email protected] "\'block" | 111 | [email protected] |
112 | [email protected] "\'block" | ||
109 | [email protected] ";" | 113 | [email protected] ";" |
110 | [email protected] "\n " | 114 | [email protected] "\n " |
111 | [email protected] "}" | 115 | [email protected] "}" |
@@ -135,7 +139,8 @@ [email protected] | |||
135 | [email protected] " " | 139 | [email protected] " " |
136 | [email protected] | 140 | [email protected] |
137 | [email protected] | 141 | [email protected] |
138 | [email protected] "\'block" | 142 | [email protected] |
143 | [email protected] "\'block" | ||
139 | [email protected] ":" | 144 | [email protected] ":" |
140 | [email protected] " " | 145 | [email protected] " " |
141 | [email protected] | 146 | [email protected] |
@@ -165,7 +170,8 @@ [email protected] | |||
165 | [email protected] | 170 | [email protected] |
166 | [email protected] "break" | 171 | [email protected] "break" |
167 | [email protected] " " | 172 | [email protected] " " |
168 | [email protected] "\'block" | 173 | [email protected] |
174 | [email protected] "\'block" | ||
169 | [email protected] " " | 175 | [email protected] " " |
170 | [email protected] | 176 | [email protected] |
171 | [email protected] "1" | 177 | [email protected] "1" |
@@ -197,7 +203,8 @@ [email protected] | |||
197 | [email protected] | 203 | [email protected] |
198 | [email protected] "break" | 204 | [email protected] "break" |
199 | [email protected] " " | 205 | [email protected] " " |
200 | [email protected] "\'block" | 206 | [email protected] |
207 | [email protected] "\'block" | ||
201 | [email protected] " " | 208 | [email protected] " " |
202 | [email protected] | 209 | [email protected] |
203 | [email protected] "2" | 210 | [email protected] "2" |
diff --git a/crates/syntax/test_data/parser/ok/0035_weird_exprs.rast b/crates/syntax/test_data/parser/ok/0035_weird_exprs.rast index 7c61b5006..46b192dc1 100644 --- a/crates/syntax/test_data/parser/ok/0035_weird_exprs.rast +++ b/crates/syntax/test_data/parser/ok/0035_weird_exprs.rast | |||
@@ -1373,14 +1373,14 @@ [email protected] | |||
1373 | [email protected] " " | 1373 | [email protected] " " |
1374 | [email protected] "u8" | 1374 | [email protected] "u8" |
1375 | [email protected] "<" | 1375 | [email protected] "<" |
1376 | [email protected] "\'u8" | 1376 | LIFETIME_IDENT@2380..2383 "\'u8" |
1377 | [email protected] ":" | 1377 | [email protected] ":" |
1378 | [email protected] " " | 1378 | [email protected] " " |
1379 | [email protected] "\'u8" | 1379 | LIFETIME_IDENT@2385..2388 "\'u8" |
1380 | [email protected] " " | 1380 | [email protected] " " |
1381 | [email protected] "+" | 1381 | [email protected] "+" |
1382 | [email protected] " " | 1382 | [email protected] " " |
1383 | [email protected] "\'u8" | 1383 | LIFETIME_IDENT@2391..2394 "\'u8" |
1384 | [email protected] ">" | 1384 | [email protected] ">" |
1385 | [email protected] | 1385 | [email protected] |
1386 | [email protected] "(" | 1386 | [email protected] "(" |
@@ -1388,7 +1388,7 @@ [email protected] | |||
1388 | [email protected] ":" | 1388 | [email protected] ":" |
1389 | [email protected] " " | 1389 | [email protected] " " |
1390 | [email protected] "&" | 1390 | [email protected] "&" |
1391 | [email protected] "\'u8" | 1391 | LIFETIME_IDENT@2401..2404 "\'u8" |
1392 | [email protected] " " | 1392 | [email protected] " " |
1393 | [email protected] "u8" | 1393 | [email protected] "u8" |
1394 | [email protected] ")" | 1394 | [email protected] ")" |
@@ -1397,7 +1397,7 @@ [email protected] | |||
1397 | [email protected] ">" | 1397 | [email protected] ">" |
1398 | [email protected] " " | 1398 | [email protected] " " |
1399 | [email protected] "&" | 1399 | [email protected] "&" |
1400 | [email protected] "\'u8" | 1400 | LIFETIME_IDENT@2413..2416 "\'u8" |
1401 | [email protected] " " | 1401 | [email protected] " " |
1402 | [email protected] "u8" | 1402 | [email protected] "u8" |
1403 | [email protected] " " | 1403 | [email protected] " " |
@@ -1568,7 +1568,8 @@ [email protected] | |||
1568 | [email protected] | 1568 | [email protected] |
1569 | [email protected] "<" | 1569 | [email protected] "<" |
1570 | [email protected] | 1570 | [email protected] |
1571 | [email protected] "\'union" | 1571 | [email protected] |
1572 | [email protected] "\'union" | ||
1572 | [email protected] ">" | 1573 | [email protected] ">" |
1573 | [email protected] " " | 1574 | [email protected] " " |
1574 | [email protected] | 1575 | [email protected] |
@@ -1581,7 +1582,8 @@ [email protected] | |||
1581 | [email protected] " " | 1582 | [email protected] " " |
1582 | [email protected] | 1583 | [email protected] |
1583 | [email protected] "&" | 1584 | [email protected] "&" |
1584 | [email protected] "\'union" | 1585 | [email protected] |
1586 | [email protected] "\'union" | ||
1585 | [email protected] " " | 1587 | [email protected] " " |
1586 | [email protected] | 1588 | [email protected] |
1587 | [email protected] | 1589 | [email protected] |
@@ -1591,7 +1593,8 @@ [email protected] | |||
1591 | [email protected] | 1593 | [email protected] |
1592 | [email protected] "<" | 1594 | [email protected] "<" |
1593 | [email protected] | 1595 | [email protected] |
1594 | [email protected] "\'union" | 1596 | [email protected] |
1597 | [email protected] "\'union" | ||
1595 | [email protected] ">" | 1598 | [email protected] ">" |
1596 | [email protected] "," | 1599 | [email protected] "," |
1597 | [email protected] " " | 1600 | [email protected] " " |
diff --git a/crates/syntax/test_data/parser/ok/0051_parameter_attrs.rast b/crates/syntax/test_data/parser/ok/0051_parameter_attrs.rast index d4f05f279..8974f9e40 100644 --- a/crates/syntax/test_data/parser/ok/0051_parameter_attrs.rast +++ b/crates/syntax/test_data/parser/ok/0051_parameter_attrs.rast | |||
@@ -175,7 +175,8 @@ [email protected] | |||
175 | [email protected] | 175 | [email protected] |
176 | [email protected] "<" | 176 | [email protected] "<" |
177 | [email protected] | 177 | [email protected] |
178 | [email protected] "\'a" | 178 | [email protected] |
179 | [email protected] "\'a" | ||
179 | [email protected] ">" | 180 | [email protected] ">" |
180 | [email protected] ")" | 181 | [email protected] ")" |
181 | [email protected] ">" | 182 | [email protected] ">" |
@@ -344,7 +345,8 @@ [email protected] | |||
344 | [email protected] | 345 | [email protected] |
345 | [email protected] "<" | 346 | [email protected] "<" |
346 | [email protected] | 347 | [email protected] |
347 | [email protected] "\'a" | 348 | [email protected] |
349 | [email protected] "\'a" | ||
348 | [email protected] ">" | 350 | [email protected] ">" |
349 | [email protected] | 351 | [email protected] |
350 | [email protected] "(" | 352 | [email protected] "(" |
@@ -376,7 +378,8 @@ [email protected] | |||
376 | [email protected] | 378 | [email protected] |
377 | [email protected] "<" | 379 | [email protected] "<" |
378 | [email protected] | 380 | [email protected] |
379 | [email protected] "\'a" | 381 | [email protected] |
382 | [email protected] "\'a" | ||
380 | [email protected] ">" | 383 | [email protected] ">" |
381 | [email protected] | 384 | [email protected] |
382 | [email protected] "(" | 385 | [email protected] "(" |
@@ -391,7 +394,8 @@ [email protected] | |||
391 | [email protected] " " | 394 | [email protected] " " |
392 | [email protected] | 395 | [email protected] |
393 | [email protected] "&" | 396 | [email protected] "&" |
394 | [email protected] "\'a" | 397 | [email protected] |
398 | [email protected] "\'a" | ||
395 | [email protected] " " | 399 | [email protected] " " |
396 | [email protected] "self" | 400 | [email protected] "self" |
397 | [email protected] ")" | 401 | [email protected] ")" |
@@ -408,7 +412,8 @@ [email protected] | |||
408 | [email protected] | 412 | [email protected] |
409 | [email protected] "<" | 413 | [email protected] "<" |
410 | [email protected] | 414 | [email protected] |
411 | [email protected] "\'a" | 415 | [email protected] |
416 | [email protected] "\'a" | ||
412 | [email protected] ">" | 417 | [email protected] ">" |
413 | [email protected] | 418 | [email protected] |
414 | [email protected] "(" | 419 | [email protected] "(" |
@@ -423,7 +428,8 @@ [email protected] | |||
423 | [email protected] " " | 428 | [email protected] " " |
424 | [email protected] | 429 | [email protected] |
425 | [email protected] "&" | 430 | [email protected] "&" |
426 | [email protected] "\'a" | 431 | [email protected] |
432 | [email protected] "\'a" | ||
427 | [email protected] " " | 433 | [email protected] " " |
428 | [email protected] "mut" | 434 | [email protected] "mut" |
429 | [email protected] " " | 435 | [email protected] " " |
diff --git a/crates/syntax/test_data/parser/ok/0067_where_for_pred.rast b/crates/syntax/test_data/parser/ok/0067_where_for_pred.rast index 8f8639a37..325e9e655 100644 --- a/crates/syntax/test_data/parser/ok/0067_where_for_pred.rast +++ b/crates/syntax/test_data/parser/ok/0067_where_for_pred.rast | |||
@@ -22,7 +22,8 @@ [email protected] | |||
22 | [email protected] | 22 | [email protected] |
23 | [email protected] "<" | 23 | [email protected] "<" |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] "\'a" | 25 | [email protected] |
26 | [email protected] "\'a" | ||
26 | [email protected] ">" | 27 | [email protected] ">" |
27 | [email protected] " " | 28 | [email protected] " " |
28 | [email protected] | 29 | [email protected] |
@@ -44,7 +45,8 @@ [email protected] | |||
44 | [email protected] | 45 | [email protected] |
45 | [email protected] | 46 | [email protected] |
46 | [email protected] "&" | 47 | [email protected] "&" |
47 | [email protected] "\'a" | 48 | [email protected] |
49 | [email protected] "\'a" | ||
48 | [email protected] " " | 50 | [email protected] " " |
49 | [email protected] | 51 | [email protected] |
50 | [email protected] | 52 | [email protected] |
@@ -82,12 +84,14 @@ [email protected] | |||
82 | [email protected] | 84 | [email protected] |
83 | [email protected] "<" | 85 | [email protected] "<" |
84 | [email protected] | 86 | [email protected] |
85 | [email protected] "\'a" | 87 | [email protected] |
88 | [email protected] "\'a" | ||
86 | [email protected] ">" | 89 | [email protected] ">" |
87 | [email protected] " " | 90 | [email protected] " " |
88 | [email protected] | 91 | [email protected] |
89 | [email protected] "&" | 92 | [email protected] "&" |
90 | [email protected] "\'a" | 93 | [email protected] |
94 | [email protected] "\'a" | ||
91 | [email protected] " " | 95 | [email protected] " " |
92 | [email protected] | 96 | [email protected] |
93 | [email protected] | 97 | [email protected] |
@@ -133,14 +137,16 @@ [email protected] | |||
133 | [email protected] | 137 | [email protected] |
134 | [email protected] "<" | 138 | [email protected] "<" |
135 | [email protected] | 139 | [email protected] |
136 | [email protected] "\'a" | 140 | [email protected] |
141 | [email protected] "\'a" | ||
137 | [email protected] ">" | 142 | [email protected] ">" |
138 | [email protected] " " | 143 | [email protected] " " |
139 | [email protected] | 144 | [email protected] |
140 | [email protected] "(" | 145 | [email protected] "(" |
141 | [email protected] | 146 | [email protected] |
142 | [email protected] "&" | 147 | [email protected] "&" |
143 | [email protected] "\'a" | 148 | [email protected] |
149 | [email protected] "\'a" | ||
144 | [email protected] " " | 150 | [email protected] " " |
145 | [email protected] | 151 | [email protected] |
146 | [email protected] | 152 | [email protected] |
@@ -162,7 +168,8 @@ [email protected] | |||
162 | [email protected] | 168 | [email protected] |
163 | [email protected] | 169 | [email protected] |
164 | [email protected] "&" | 170 | [email protected] "&" |
165 | [email protected] "\'a" | 171 | [email protected] |
172 | [email protected] "\'a" | ||
166 | [email protected] " " | 173 | [email protected] " " |
167 | [email protected] | 174 | [email protected] |
168 | [email protected] | 175 | [email protected] |
@@ -200,14 +207,16 @@ [email protected] | |||
200 | [email protected] | 207 | [email protected] |
201 | [email protected] "<" | 208 | [email protected] "<" |
202 | [email protected] | 209 | [email protected] |
203 | [email protected] "\'a" | 210 | [email protected] |
211 | [email protected] "\'a" | ||
204 | [email protected] ">" | 212 | [email protected] ">" |
205 | [email protected] " " | 213 | [email protected] " " |
206 | [email protected] | 214 | [email protected] |
207 | [email protected] "[" | 215 | [email protected] "[" |
208 | [email protected] | 216 | [email protected] |
209 | [email protected] "&" | 217 | [email protected] "&" |
210 | [email protected] "\'a" | 218 | [email protected] |
219 | [email protected] "\'a" | ||
211 | [email protected] " " | 220 | [email protected] " " |
212 | [email protected] | 221 | [email protected] |
213 | [email protected] | 222 | [email protected] |
@@ -267,7 +276,8 @@ [email protected] | |||
267 | [email protected] | 276 | [email protected] |
268 | [email protected] "<" | 277 | [email protected] "<" |
269 | [email protected] | 278 | [email protected] |
270 | [email protected] "\'a" | 279 | [email protected] |
280 | [email protected] "\'a" | ||
271 | [email protected] ">" | 281 | [email protected] ">" |
272 | [email protected] " " | 282 | [email protected] " " |
273 | [email protected] | 283 | [email protected] |
@@ -277,7 +287,8 @@ [email protected] | |||
277 | [email protected] "<" | 287 | [email protected] "<" |
278 | [email protected] | 288 | [email protected] |
279 | [email protected] "&" | 289 | [email protected] "&" |
280 | [email protected] "\'a" | 290 | [email protected] |
291 | [email protected] "\'a" | ||
281 | [email protected] " " | 292 | [email protected] " " |
282 | [email protected] | 293 | [email protected] |
283 | [email protected] | 294 | [email protected] |
@@ -336,7 +347,8 @@ [email protected] | |||
336 | [email protected] | 347 | [email protected] |
337 | [email protected] "<" | 348 | [email protected] "<" |
338 | [email protected] | 349 | [email protected] |
339 | [email protected] "\'a" | 350 | [email protected] |
351 | [email protected] "\'a" | ||
340 | [email protected] ">" | 352 | [email protected] ">" |
341 | [email protected] " " | 353 | [email protected] " " |
342 | [email protected] | 354 | [email protected] |
@@ -344,7 +356,8 @@ [email protected] | |||
344 | [email protected] | 356 | [email protected] |
345 | [email protected] "<" | 357 | [email protected] "<" |
346 | [email protected] | 358 | [email protected] |
347 | [email protected] "\'b" | 359 | [email protected] |
360 | [email protected] "\'b" | ||
348 | [email protected] ">" | 361 | [email protected] ">" |
349 | [email protected] " " | 362 | [email protected] " " |
350 | [email protected] | 363 | [email protected] |
@@ -354,7 +367,8 @@ [email protected] | |||
354 | [email protected] | 367 | [email protected] |
355 | [email protected] | 368 | [email protected] |
356 | [email protected] "&" | 369 | [email protected] "&" |
357 | [email protected] "\'a" | 370 | [email protected] |
371 | [email protected] "\'a" | ||
358 | [email protected] " " | 372 | [email protected] " " |
359 | [email protected] | 373 | [email protected] |
360 | [email protected] | 374 | [email protected] |
@@ -366,7 +380,8 @@ [email protected] | |||
366 | [email protected] | 380 | [email protected] |
367 | [email protected] | 381 | [email protected] |
368 | [email protected] "&" | 382 | [email protected] "&" |
369 | [email protected] "\'b" | 383 | [email protected] |
384 | [email protected] "\'b" | ||
370 | [email protected] " " | 385 | [email protected] " " |
371 | [email protected] | 386 | [email protected] |
372 | [email protected] | 387 | [email protected] |
diff --git a/crates/syntax/test_data/parser/ok/0069_multi_trait_object.rast b/crates/syntax/test_data/parser/ok/0069_multi_trait_object.rast index 0cd868a83..8d3e187ae 100644 --- a/crates/syntax/test_data/parser/ok/0069_multi_trait_object.rast +++ b/crates/syntax/test_data/parser/ok/0069_multi_trait_object.rast | |||
@@ -7,14 +7,16 @@ [email protected] | |||
7 | [email protected] | 7 | [email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] "\'a" | 10 | [email protected] |
11 | [email protected] "\'a" | ||
11 | [email protected] ">" | 12 | [email protected] ">" |
12 | [email protected] " " | 13 | [email protected] " " |
13 | [email protected] "=" | 14 | [email protected] "=" |
14 | [email protected] " " | 15 | [email protected] " " |
15 | [email protected] | 16 | [email protected] |
16 | [email protected] "&" | 17 | [email protected] "&" |
17 | [email protected] "\'a" | 18 | [email protected] |
19 | [email protected] "\'a" | ||
18 | [email protected] " " | 20 | [email protected] " " |
19 | [email protected] | 21 | [email protected] |
20 | [email protected] "(" | 22 | [email protected] "(" |
@@ -109,7 +111,8 @@ [email protected] | |||
109 | [email protected] "+" | 111 | [email protected] "+" |
110 | [email protected] " " | 112 | [email protected] " " |
111 | [email protected] | 113 | [email protected] |
112 | [email protected] "\'static" | 114 | [email protected] |
115 | [email protected] "\'static" | ||
113 | [email protected] ")" | 116 | [email protected] ")" |
114 | [email protected] ";" | 117 | [email protected] ";" |
115 | [email protected] "\n" | 118 | [email protected] "\n" |