aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-31 19:09:09 +0100
committerAleksey Kladov <[email protected]>2020-07-31 19:12:10 +0100
commit98181087984157e27faba0b969e384f3c62c39d5 (patch)
tree0032223efeefca76340fb0a97f6f12d0e432a2a9 /crates/ra_syntax
parent6791eb9685375da94556bb910ea71f78b08be5ec (diff)
Rename BindPat -> IdentPat
Diffstat (limited to 'crates/ra_syntax')
-rw-r--r--crates/ra_syntax/src/ast/generated/nodes.rs26
-rw-r--r--crates/ra_syntax/src/ast/make.rs4
-rw-r--r--crates/ra_syntax/src/ast/node_ext.rs6
-rw-r--r--crates/ra_syntax/test_data/parser/err/0012_broken_lambda.rast36
-rw-r--r--crates/ra_syntax/test_data/parser/err/0017_incomplete_binexpr.rast4
-rw-r--r--crates/ra_syntax/test_data/parser/err/0018_incomplete_fn.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/err/0019_let_recover.rast6
-rw-r--r--crates/ra_syntax/test_data/parser/err/0021_incomplete_param.rast4
-rw-r--r--crates/ra_syntax/test_data/parser/err/0025_nope.rast4
-rw-r--r--crates/ra_syntax/test_data/parser/err/0029_field_completion.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/err/0031_block_inner_attrs.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rast6
-rw-r--r--crates/ra_syntax/test_data/parser/err/0039_lambda_recovery.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/fragments/pattern/ok/0000_enum.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0006_self_param.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0024_slice_pat.rast4
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0027_ref_pat.rast4
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0031_while_expr.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0066_match_arm.rast10
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0080_postfix_range.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0088_break_ambiguity.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0099_param_list.rast8
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0100_for_expr.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0102_record_field_pat_list.rast4
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0106_lambda_expr.rast4
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0109_label.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0111_tuple_pat.rast6
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0112_bind_pat.rast14
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rast12
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0132_box_expr.rast6
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0138_associated_type_bounds.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0139_param_outer_arg.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0143_box_pat.rast8
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0144_dot_dot_pat.rast44
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0154_fn_pointer_param_ident_path.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0155_closure_params.rast8
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0156_fn_def_param.rast4
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0028_operator_binding_power.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0029_range_forms.rast4
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0030_traits.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0031_extern.rast94
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0033_label_break.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.rast36
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0041_raw_keywords.rast4
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0044_let_attrs.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0045_block_inner_attrs.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0048_compound_assignment.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0050_async_block_as_argument.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0051_parameter_attrs.rast8
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0052_for_range_block.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0057_loop_in_call.rast2
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0063_trait_fn_patterns.rast14
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0063_variadic_fun.rast6
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0064_impl_fn_params.rast12
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0067_where_for_pred.rast2
59 files changed, 233 insertions, 233 deletions
diff --git a/crates/ra_syntax/src/ast/generated/nodes.rs b/crates/ra_syntax/src/ast/generated/nodes.rs
index f6b3fa6ef..231a0f727 100644
--- a/crates/ra_syntax/src/ast/generated/nodes.rs
+++ b/crates/ra_syntax/src/ast/generated/nodes.rs
@@ -1111,12 +1111,12 @@ impl TypeBound {
1111 pub fn ty(&self) -> Option<Type> { support::child(&self.syntax) } 1111 pub fn ty(&self) -> Option<Type> { support::child(&self.syntax) }
1112} 1112}
1113#[derive(Debug, Clone, PartialEq, Eq, Hash)] 1113#[derive(Debug, Clone, PartialEq, Eq, Hash)]
1114pub struct BindPat { 1114pub struct IdentPat {
1115 pub(crate) syntax: SyntaxNode, 1115 pub(crate) syntax: SyntaxNode,
1116} 1116}
1117impl ast::AttrsOwner for BindPat {} 1117impl ast::AttrsOwner for IdentPat {}
1118impl ast::NameOwner for BindPat {} 1118impl ast::NameOwner for IdentPat {}
1119impl BindPat { 1119impl IdentPat {
1120 pub fn ref_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![ref]) } 1120 pub fn ref_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![ref]) }
1121 pub fn mut_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![mut]) } 1121 pub fn mut_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![mut]) }
1122 pub fn at_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![@]) } 1122 pub fn at_token(&self) -> Option<SyntaxToken> { support::token(&self.syntax, T![@]) }
@@ -1335,7 +1335,7 @@ pub enum Stmt {
1335} 1335}
1336#[derive(Debug, Clone, PartialEq, Eq, Hash)] 1336#[derive(Debug, Clone, PartialEq, Eq, Hash)]
1337pub enum Pat { 1337pub enum Pat {
1338 BindPat(BindPat), 1338 IdentPat(IdentPat),
1339 BoxPat(BoxPat), 1339 BoxPat(BoxPat),
1340 DotDotPat(DotDotPat), 1340 DotDotPat(DotDotPat),
1341 LiteralPat(LiteralPat), 1341 LiteralPat(LiteralPat),
@@ -2556,8 +2556,8 @@ impl AstNode for TypeBound {
2556 } 2556 }
2557 fn syntax(&self) -> &SyntaxNode { &self.syntax } 2557 fn syntax(&self) -> &SyntaxNode { &self.syntax }
2558} 2558}
2559impl AstNode for BindPat { 2559impl AstNode for IdentPat {
2560 fn can_cast(kind: SyntaxKind) -> bool { kind == BIND_PAT } 2560 fn can_cast(kind: SyntaxKind) -> bool { kind == IDENT_PAT }
2561 fn cast(syntax: SyntaxNode) -> Option<Self> { 2561 fn cast(syntax: SyntaxNode) -> Option<Self> {
2562 if Self::can_cast(syntax.kind()) { 2562 if Self::can_cast(syntax.kind()) {
2563 Some(Self { syntax }) 2563 Some(Self { syntax })
@@ -3136,8 +3136,8 @@ impl From<Item> for Stmt {
3136impl From<LetStmt> for Stmt { 3136impl From<LetStmt> for Stmt {
3137 fn from(node: LetStmt) -> Stmt { Stmt::LetStmt(node) } 3137 fn from(node: LetStmt) -> Stmt { Stmt::LetStmt(node) }
3138} 3138}
3139impl From<BindPat> for Pat { 3139impl From<IdentPat> for Pat {
3140 fn from(node: BindPat) -> Pat { Pat::BindPat(node) } 3140 fn from(node: IdentPat) -> Pat { Pat::IdentPat(node) }
3141} 3141}
3142impl From<BoxPat> for Pat { 3142impl From<BoxPat> for Pat {
3143 fn from(node: BoxPat) -> Pat { Pat::BoxPat(node) } 3143 fn from(node: BoxPat) -> Pat { Pat::BoxPat(node) }
@@ -3184,7 +3184,7 @@ impl From<TupleStructPat> for Pat {
3184impl AstNode for Pat { 3184impl AstNode for Pat {
3185 fn can_cast(kind: SyntaxKind) -> bool { 3185 fn can_cast(kind: SyntaxKind) -> bool {
3186 match kind { 3186 match kind {
3187 BIND_PAT | BOX_PAT | DOT_DOT_PAT | LITERAL_PAT | MACRO_PAT | OR_PAT | PAREN_PAT 3187 IDENT_PAT | BOX_PAT | DOT_DOT_PAT | LITERAL_PAT | MACRO_PAT | OR_PAT | PAREN_PAT
3188 | PATH_PAT | WILDCARD_PAT | RANGE_PAT | RECORD_PAT | REF_PAT | SLICE_PAT 3188 | PATH_PAT | WILDCARD_PAT | RANGE_PAT | RECORD_PAT | REF_PAT | SLICE_PAT
3189 | TUPLE_PAT | TUPLE_STRUCT_PAT => true, 3189 | TUPLE_PAT | TUPLE_STRUCT_PAT => true,
3190 _ => false, 3190 _ => false,
@@ -3192,7 +3192,7 @@ impl AstNode for Pat {
3192 } 3192 }
3193 fn cast(syntax: SyntaxNode) -> Option<Self> { 3193 fn cast(syntax: SyntaxNode) -> Option<Self> {
3194 let res = match syntax.kind() { 3194 let res = match syntax.kind() {
3195 BIND_PAT => Pat::BindPat(BindPat { syntax }), 3195 IDENT_PAT => Pat::IdentPat(IdentPat { syntax }),
3196 BOX_PAT => Pat::BoxPat(BoxPat { syntax }), 3196 BOX_PAT => Pat::BoxPat(BoxPat { syntax }),
3197 DOT_DOT_PAT => Pat::DotDotPat(DotDotPat { syntax }), 3197 DOT_DOT_PAT => Pat::DotDotPat(DotDotPat { syntax }),
3198 LITERAL_PAT => Pat::LiteralPat(LiteralPat { syntax }), 3198 LITERAL_PAT => Pat::LiteralPat(LiteralPat { syntax }),
@@ -3213,7 +3213,7 @@ impl AstNode for Pat {
3213 } 3213 }
3214 fn syntax(&self) -> &SyntaxNode { 3214 fn syntax(&self) -> &SyntaxNode {
3215 match self { 3215 match self {
3216 Pat::BindPat(it) => &it.syntax, 3216 Pat::IdentPat(it) => &it.syntax,
3217 Pat::BoxPat(it) => &it.syntax, 3217 Pat::BoxPat(it) => &it.syntax,
3218 Pat::DotDotPat(it) => &it.syntax, 3218 Pat::DotDotPat(it) => &it.syntax,
3219 Pat::LiteralPat(it) => &it.syntax, 3219 Pat::LiteralPat(it) => &it.syntax,
@@ -3981,7 +3981,7 @@ impl std::fmt::Display for TypeBound {
3981 std::fmt::Display::fmt(self.syntax(), f) 3981 std::fmt::Display::fmt(self.syntax(), f)
3982 } 3982 }
3983} 3983}
3984impl std::fmt::Display for BindPat { 3984impl std::fmt::Display for IdentPat {
3985 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { 3985 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
3986 std::fmt::Display::fmt(self.syntax(), f) 3986 std::fmt::Display::fmt(self.syntax(), f)
3987 } 3987 }
diff --git a/crates/ra_syntax/src/ast/make.rs b/crates/ra_syntax/src/ast/make.rs
index efb2cb4a3..673777015 100644
--- a/crates/ra_syntax/src/ast/make.rs
+++ b/crates/ra_syntax/src/ast/make.rs
@@ -148,10 +148,10 @@ pub fn condition(expr: ast::Expr, pattern: Option<ast::Pat>) -> ast::Condition {
148 } 148 }
149} 149}
150 150
151pub fn bind_pat(name: ast::Name) -> ast::BindPat { 151pub fn bind_pat(name: ast::Name) -> ast::IdentPat {
152 return from_text(name.text()); 152 return from_text(name.text());
153 153
154 fn from_text(text: &str) -> ast::BindPat { 154 fn from_text(text: &str) -> ast::IdentPat {
155 ast_from_text(&format!("fn f({}: ())", text)) 155 ast_from_text(&format!("fn f({}: ())", text))
156 } 156 }
157} 157}
diff --git a/crates/ra_syntax/src/ast/node_ext.rs b/crates/ra_syntax/src/ast/node_ext.rs
index 2cfdac225..4b4a72375 100644
--- a/crates/ra_syntax/src/ast/node_ext.rs
+++ b/crates/ra_syntax/src/ast/node_ext.rs
@@ -233,7 +233,7 @@ impl ast::RecordPatField {
233 if let Some(name_ref) = self.name_ref() { 233 if let Some(name_ref) = self.name_ref() {
234 return Some(NameOrNameRef::NameRef(name_ref)); 234 return Some(NameOrNameRef::NameRef(name_ref));
235 } 235 }
236 if let Some(ast::Pat::BindPat(pat)) = self.pat() { 236 if let Some(ast::Pat::IdentPat(pat)) = self.pat() {
237 let name = pat.name()?; 237 let name = pat.name()?;
238 return Some(NameOrNameRef::Name(name)); 238 return Some(NameOrNameRef::Name(name));
239 } 239 }
@@ -294,13 +294,13 @@ impl ast::SlicePat {
294 let prefix = args 294 let prefix = args
295 .peeking_take_while(|p| match p { 295 .peeking_take_while(|p| match p {
296 ast::Pat::DotDotPat(_) => false, 296 ast::Pat::DotDotPat(_) => false,
297 ast::Pat::BindPat(bp) => match bp.pat() { 297 ast::Pat::IdentPat(bp) => match bp.pat() {
298 Some(ast::Pat::DotDotPat(_)) => false, 298 Some(ast::Pat::DotDotPat(_)) => false,
299 _ => true, 299 _ => true,
300 }, 300 },
301 ast::Pat::RefPat(rp) => match rp.pat() { 301 ast::Pat::RefPat(rp) => match rp.pat() {
302 Some(ast::Pat::DotDotPat(_)) => false, 302 Some(ast::Pat::DotDotPat(_)) => false,
303 Some(ast::Pat::BindPat(bp)) => match bp.pat() { 303 Some(ast::Pat::IdentPat(bp)) => match bp.pat() {
304 Some(ast::Pat::DotDotPat(_)) => false, 304 Some(ast::Pat::DotDotPat(_)) => false,
305 _ => true, 305 _ => true,
306 }, 306 },
diff --git a/crates/ra_syntax/test_data/parser/err/0012_broken_lambda.rast b/crates/ra_syntax/test_data/parser/err/0012_broken_lambda.rast
index 307d9b31b..c131b79a7 100644
--- a/crates/ra_syntax/test_data/parser/err/0012_broken_lambda.rast
+++ b/crates/ra_syntax/test_data/parser/err/0012_broken_lambda.rast
@@ -34,7 +34,7 @@ [email protected]
34 [email protected] 34 [email protected]
35 [email protected] 35 [email protected]
36 [email protected] 36 [email protected]
37 BIN[email protected] 37 IDENT[email protected]
38 [email protected] 38 [email protected]
39 [email protected] "builder" 39 [email protected] "builder"
40 [email protected] 40 [email protected]
@@ -51,7 +51,7 @@ [email protected]
51 [email protected] 51 [email protected]
52 [email protected] 52 [email protected]
53 [email protected] 53 [email protected]
54 BIN[email protected] 54 IDENT[email protected]
55 [email protected] 55 [email protected]
56 [email protected] "tokens" 56 [email protected] "tokens"
57 [email protected] 57 [email protected]
@@ -69,7 +69,7 @@ [email protected]
69 [email protected] 69 [email protected]
70 [email protected] 70 [email protected]
71 [email protected] 71 [email protected]
72 BIN[email protected] 72 IDENT[email protected]
73 [email protected] 73 [email protected]
74 [email protected] "events" 74 [email protected] "events"
75 [email protected] 75 [email protected]
@@ -96,7 +96,7 @@ [email protected]
96 [email protected] 96 [email protected]
97 [email protected] 97 [email protected]
98 [email protected] 98 [email protected]
99 BIN[email protected] 99 IDENT[email protected]
100 [email protected] 100 [email protected]
101 [email protected] 101 [email protected]
102 [email protected] 102 [email protected]
@@ -111,7 +111,7 @@ [email protected]
111 [email protected] 111 [email protected]
112 [email protected] 112 [email protected]
113 [email protected] 113 [email protected]
114 BIN[email protected] 114 IDENT[email protected]
115 [email protected] 115 [email protected]
116 [email protected] "eat_ws" 116 [email protected] "eat_ws"
117 [email protected] 117 [email protected]
@@ -121,7 +121,7 @@ [email protected]
121 [email protected] 121 [email protected]
122 [email protected] 122 [email protected]
123 [email protected] 123 [email protected]
124 BIN[email protected] 124 IDENT[email protected]
125 [email protected] 125 [email protected]
126 [email protected] "idx" 126 [email protected] "idx"
127 [email protected] 127 [email protected]
@@ -172,7 +172,7 @@ [email protected]
172 [email protected] 172 [email protected]
173 [email protected] "Some" 173 [email protected] "Some"
174 [email protected] 174 [email protected]
175 BIN[email protected] 175 IDENT[email protected]
176 [email protected] 176 [email protected]
177 [email protected] "token" 177 [email protected] "token"
178 [email protected] 178 [email protected]
@@ -185,7 +185,7 @@ [email protected]
185 err: `expected COMMA` 185 err: `expected COMMA`
186 [email protected] 186 [email protected]
187 [email protected] 187 [email protected]
188 BIN[email protected] 188 IDENT[email protected]
189 [email protected] 189 [email protected]
190 [email protected] "tokens" 190 [email protected] "tokens"
191 err: `expected COMMA` 191 err: `expected COMMA`
@@ -205,7 +205,7 @@ [email protected]
205 [email protected] 205 [email protected]
206 [email protected] 206 [email protected]
207 err: `expected COMMA` 207 err: `expected COMMA`
208 BIN[email protected] 208 IDENT[email protected]
209 [email protected] 209 [email protected]
210 [email protected] "idx" 210 [email protected] "idx"
211 [email protected] 211 [email protected]
@@ -229,7 +229,7 @@ [email protected]
229 [email protected] 229 [email protected]
230 err: `expected COMMA` 230 err: `expected COMMA`
231 [email protected] 231 [email protected]
232 BIN[email protected] 232 IDENT[email protected]
233 [email protected] 233 [email protected]
234 [email protected] "token" 234 [email protected] "token"
235 err: `expected COMMA` 235 err: `expected COMMA`
@@ -239,7 +239,7 @@ [email protected]
239 [email protected] 239 [email protected]
240 err: `expected COMMA` 240 err: `expected COMMA`
241 [email protected] 241 [email protected]
242 BIN[email protected] 242 IDENT[email protected]
243 [email protected] 243 [email protected]
244 [email protected] "kind" 244 [email protected] "kind"
245 err: `expected COMMA` 245 err: `expected COMMA`
@@ -265,7 +265,7 @@ [email protected]
265 err: `expected COMMA` 265 err: `expected COMMA`
266 [email protected] 266 [email protected]
267 [email protected] 267 [email protected]
268 BIN[email protected] 268 IDENT[email protected]
269 [email protected] 269 [email protected]
270 [email protected] "break" 270 [email protected] "break"
271 err: `expected COMMA` 271 err: `expected COMMA`
@@ -282,7 +282,7 @@ [email protected]
282 err: `expected COMMA` 282 err: `expected COMMA`
283 [email protected] 283 [email protected]
284 [email protected] 284 [email protected]
285 BIN[email protected] 285 IDENT[email protected]
286 [email protected] 286 [email protected]
287 [email protected] "builder" 287 [email protected] "builder"
288 err: `expected COMMA` 288 err: `expected COMMA`
@@ -298,7 +298,7 @@ [email protected]
298 [email protected] 298 [email protected]
299 [email protected] "leaf" 299 [email protected] "leaf"
300 [email protected] 300 [email protected]
301 BIN[email protected] 301 IDENT[email protected]
302 [email protected] 302 [email protected]
303 [email protected] "token" 303 [email protected] "token"
304 err: `expected COMMA` 304 err: `expected COMMA`
@@ -306,12 +306,12 @@ [email protected]
306 [email protected] 306 [email protected]
307 [email protected] 307 [email protected]
308 err: `expected COMMA` 308 err: `expected COMMA`
309 BIN[email protected] 309 IDENT[email protected]
310 [email protected] 310 [email protected]
311 [email protected] "kind" 311 [email protected] "kind"
312 [email protected] 312 [email protected]
313 [email protected] 313 [email protected]
314 BIN[email protected] 314 IDENT[email protected]
315 [email protected] 315 [email protected]
316 [email protected] "token" 316 [email protected] "token"
317 err: `expected COMMA` 317 err: `expected COMMA`
@@ -319,7 +319,7 @@ [email protected]
319 [email protected] 319 [email protected]
320 [email protected] 320 [email protected]
321 err: `expected COMMA` 321 err: `expected COMMA`
322 BIN[email protected] 322 IDENT[email protected]
323 [email protected] 323 [email protected]
324 [email protected] "len" 324 [email protected] "len"
325 [email protected] 325 [email protected]
@@ -336,7 +336,7 @@ [email protected]
336 [email protected] 336 [email protected]
337 err: `expected COMMA` 337 err: `expected COMMA`
338 [email protected] 338 [email protected]
339 BIN[email protected] 339 IDENT[email protected]
340 [email protected] 340 [email protected]
341 [email protected] "idx" 341 [email protected] "idx"
342 err: `expected COMMA` 342 err: `expected COMMA`
diff --git a/crates/ra_syntax/test_data/parser/err/0017_incomplete_binexpr.rast b/crates/ra_syntax/test_data/parser/err/0017_incomplete_binexpr.rast
index bb4a28f4e..fe094f61c 100644
--- a/crates/ra_syntax/test_data/parser/err/0017_incomplete_binexpr.rast
+++ b/crates/ra_syntax/test_data/parser/err/0017_incomplete_binexpr.rast
@@ -7,7 +7,7 @@ [email protected]
7 [email protected] 7 [email protected]
8 [email protected] "(" 8 [email protected] "("
9 [email protected] 9 [email protected]
10 BIN[email protected] 10 IDENT[email protected]
11 [email protected] 11 [email protected]
12 [email protected] "foo" 12 [email protected] "foo"
13 [email protected] ":" 13 [email protected] ":"
@@ -25,7 +25,7 @@ [email protected]
25 [email protected] 25 [email protected]
26 [email protected] "let" 26 [email protected] "let"
27 [email protected] " " 27 [email protected] " "
28 BIN[email protected] 28 IDENT[email protected]
29 [email protected] 29 [email protected]
30 [email protected] "bar" 30 [email protected] "bar"
31 [email protected] " " 31 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/err/0018_incomplete_fn.rast b/crates/ra_syntax/test_data/parser/err/0018_incomplete_fn.rast
index bc95b8512..72939fc98 100644
--- a/crates/ra_syntax/test_data/parser/err/0018_incomplete_fn.rast
+++ b/crates/ra_syntax/test_data/parser/err/0018_incomplete_fn.rast
@@ -38,7 +38,7 @@ [email protected]
38 [email protected] 38 [email protected]
39 [email protected] "let" 39 [email protected] "let"
40 [email protected] " " 40 [email protected] " "
41 BIN[email protected] 41 IDENT[email protected]
42 [email protected] 42 [email protected]
43 [email protected] "res" 43 [email protected] "res"
44 [email protected] " " 44 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/err/0019_let_recover.rast b/crates/ra_syntax/test_data/parser/err/0019_let_recover.rast
index f6fa964b7..72c05bd96 100644
--- a/crates/ra_syntax/test_data/parser/err/0019_let_recover.rast
+++ b/crates/ra_syntax/test_data/parser/err/0019_let_recover.rast
@@ -14,7 +14,7 @@ [email protected]
14 [email protected] 14 [email protected]
15 [email protected] "let" 15 [email protected] "let"
16 [email protected] " " 16 [email protected] " "
17 BIN[email protected] 17 IDENT[email protected]
18 [email protected] 18 [email protected]
19 [email protected] "foo" 19 [email protected] "foo"
20 [email protected] " " 20 [email protected] " "
@@ -23,7 +23,7 @@ [email protected]
23 [email protected] 23 [email protected]
24 [email protected] "let" 24 [email protected] "let"
25 [email protected] " " 25 [email protected] " "
26 BIN[email protected] 26 IDENT[email protected]
27 [email protected] 27 [email protected]
28 [email protected] "bar" 28 [email protected] "bar"
29 [email protected] " " 29 [email protected] " "
@@ -39,7 +39,7 @@ [email protected]
39 [email protected] 39 [email protected]
40 [email protected] "let" 40 [email protected] "let"
41 [email protected] " " 41 [email protected] " "
42 BIN[email protected] 42 IDENT[email protected]
43 [email protected] 43 [email protected]
44 [email protected] "baz" 44 [email protected] "baz"
45 [email protected] " " 45 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/err/0021_incomplete_param.rast b/crates/ra_syntax/test_data/parser/err/0021_incomplete_param.rast
index ba4ce4795..b32845537 100644
--- a/crates/ra_syntax/test_data/parser/err/0021_incomplete_param.rast
+++ b/crates/ra_syntax/test_data/parser/err/0021_incomplete_param.rast
@@ -7,7 +7,7 @@ [email protected]
7 [email protected] 7 [email protected]
8 [email protected] "(" 8 [email protected] "("
9 [email protected] 9 [email protected]
10 BIN[email protected] 10 IDENT[email protected]
11 [email protected] 11 [email protected]
12 [email protected] "x" 12 [email protected] "x"
13 [email protected] ":" 13 [email protected] ":"
@@ -20,7 +20,7 @@ [email protected]
20 [email protected] "," 20 [email protected] ","
21 [email protected] " " 21 [email protected] " "
22 [email protected] 22 [email protected]
23 BIN[email protected] 23 IDENT[email protected]
24 [email protected] 24 [email protected]
25 [email protected] "y" 25 [email protected] "y"
26 [email protected] ")" 26 [email protected] ")"
diff --git a/crates/ra_syntax/test_data/parser/err/0025_nope.rast b/crates/ra_syntax/test_data/parser/err/0025_nope.rast
index fca646557..83fc9fe77 100644
--- a/crates/ra_syntax/test_data/parser/err/0025_nope.rast
+++ b/crates/ra_syntax/test_data/parser/err/0025_nope.rast
@@ -69,7 +69,7 @@ [email protected]
69 [email protected] 69 [email protected]
70 [email protected] "let" 70 [email protected] "let"
71 [email protected] " " 71 [email protected] " "
72 BIN[email protected] 72 IDENT[email protected]
73 [email protected] 73 [email protected]
74 [email protected] "a" 74 [email protected] "a"
75 [email protected] " " 75 [email protected] " "
@@ -175,7 +175,7 @@ [email protected]
175 [email protected] 175 [email protected]
176 [email protected] "let" 176 [email protected] "let"
177 [email protected] " " 177 [email protected] " "
178 BIN[email protected] 178 IDENT[email protected]
179 [email protected] 179 [email protected]
180 [email protected] "bad_syntax" 180 [email protected] "bad_syntax"
181 [email protected] " " 181 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/err/0029_field_completion.rast b/crates/ra_syntax/test_data/parser/err/0029_field_completion.rast
index bfcd0149e..c6402cdd8 100644
--- a/crates/ra_syntax/test_data/parser/err/0029_field_completion.rast
+++ b/crates/ra_syntax/test_data/parser/err/0029_field_completion.rast
@@ -7,7 +7,7 @@ [email protected]
7 [email protected] 7 [email protected]
8 [email protected] "(" 8 [email protected] "("
9 [email protected] 9 [email protected]
10 BIN[email protected] 10 IDENT[email protected]
11 [email protected] 11 [email protected]
12 [email protected] "a" 12 [email protected] "a"
13 [email protected] ":" 13 [email protected] ":"
diff --git a/crates/ra_syntax/test_data/parser/err/0031_block_inner_attrs.rast b/crates/ra_syntax/test_data/parser/err/0031_block_inner_attrs.rast
index 55ff3943f..a443b37db 100644
--- a/crates/ra_syntax/test_data/parser/err/0031_block_inner_attrs.rast
+++ b/crates/ra_syntax/test_data/parser/err/0031_block_inner_attrs.rast
@@ -14,7 +14,7 @@ [email protected]
14 [email protected] 14 [email protected]
15 [email protected] "let" 15 [email protected] "let"
16 [email protected] " " 16 [email protected] " "
17 BIN[email protected] 17 IDENT[email protected]
18 [email protected] 18 [email protected]
19 [email protected] "inner" 19 [email protected] "inner"
20 [email protected] " " 20 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rast b/crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rast
index 303a49576..d9d49bfb5 100644
--- a/crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rast
+++ b/crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rast
@@ -14,7 +14,7 @@ [email protected]
14 [email protected] 14 [email protected]
15 [email protected] "let" 15 [email protected] "let"
16 [email protected] " " 16 [email protected] " "
17 BIN[email protected] 17 IDENT[email protected]
18 [email protected] "ref" 18 [email protected] "ref"
19 [email protected] " " 19 [email protected] " "
20 [email protected] 20 [email protected]
@@ -38,7 +38,7 @@ [email protected]
38 [email protected] 38 [email protected]
39 [email protected] "let" 39 [email protected] "let"
40 [email protected] " " 40 [email protected] " "
41 BIN[email protected] 41 IDENT[email protected]
42 [email protected] "mut" 42 [email protected] "mut"
43 [email protected] " " 43 [email protected] " "
44 [email protected] 44 [email protected]
@@ -62,7 +62,7 @@ [email protected]
62 [email protected] 62 [email protected]
63 [email protected] "let" 63 [email protected] "let"
64 [email protected] " " 64 [email protected] " "
65 BIN[email protected] 65 IDENT[email protected]
66 [email protected] "ref" 66 [email protected] "ref"
67 [email protected] " " 67 [email protected] " "
68 [email protected] "mut" 68 [email protected] "mut"
diff --git a/crates/ra_syntax/test_data/parser/err/0039_lambda_recovery.rast b/crates/ra_syntax/test_data/parser/err/0039_lambda_recovery.rast
index 7a5e115bc..a9c5b70fd 100644
--- a/crates/ra_syntax/test_data/parser/err/0039_lambda_recovery.rast
+++ b/crates/ra_syntax/test_data/parser/err/0039_lambda_recovery.rast
@@ -53,7 +53,7 @@ [email protected]
53 [email protected] 53 [email protected]
54 [email protected] "|" 54 [email protected] "|"
55 [email protected] 55 [email protected]
56 BIN[email protected] 56 IDENT[email protected]
57 [email protected] 57 [email protected]
58 [email protected] "it" 58 [email protected] "it"
59 [email protected] "|" 59 [email protected] "|"
diff --git a/crates/ra_syntax/test_data/parser/fragments/pattern/ok/0000_enum.rast b/crates/ra_syntax/test_data/parser/fragments/pattern/ok/0000_enum.rast
index 15eb7f9c6..dcf102339 100644
--- a/crates/ra_syntax/test_data/parser/fragments/pattern/ok/0000_enum.rast
+++ b/crates/ra_syntax/test_data/parser/fragments/pattern/ok/0000_enum.rast
@@ -4,7 +4,7 @@ [email protected]
4 [email protected] 4 [email protected]
5 [email protected] "Some" 5 [email protected] "Some"
6 [email protected] "(" 6 [email protected] "("
7 BIN[email protected] 7 IDENT[email protected]
8 [email protected] 8 [email protected]
9 [email protected] "x" 9 [email protected] "x"
10 [email protected] ")" 10 [email protected] ")"
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0006_self_param.rast b/crates/ra_syntax/test_data/parser/inline/ok/0006_self_param.rast
index ae61cbad8..d24ad7423 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0006_self_param.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0006_self_param.rast
@@ -79,7 +79,7 @@ [email protected]
79 [email protected] "," 79 [email protected] ","
80 [email protected] " " 80 [email protected] " "
81 [email protected] 81 [email protected]
82 BIN[email protected] 82 IDENT[email protected]
83 [email protected] 83 [email protected]
84 [email protected] "x" 84 [email protected] "x"
85 [email protected] ":" 85 [email protected] ":"
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0024_slice_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0024_slice_pat.rast
index dea0c73f7..66f906fae 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0024_slice_pat.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0024_slice_pat.rast
@@ -16,12 +16,12 @@ [email protected]
16 [email protected] " " 16 [email protected] " "
17 [email protected] 17 [email protected]
18 [email protected] "[" 18 [email protected] "["
19 BIN[email protected] 19 IDENT[email protected]
20 [email protected] 20 [email protected]
21 [email protected] "a" 21 [email protected] "a"
22 [email protected] "," 22 [email protected] ","
23 [email protected] " " 23 [email protected] " "
24 BIN[email protected] 24 IDENT[email protected]
25 [email protected] 25 [email protected]
26 [email protected] "b" 26 [email protected] "b"
27 [email protected] "," 27 [email protected] ","
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.rast b/crates/ra_syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.rast
index 45d17e800..e049e4df7 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.rast
@@ -88,7 +88,7 @@ [email protected]
88 [email protected] " " 88 [email protected] " "
89 [email protected] "," 89 [email protected] ","
90 [email protected] " " 90 [email protected] " "
91 BIN[email protected] 91 IDENT[email protected]
92 [email protected] 92 [email protected]
93 [email protected] "x" 93 [email protected] "x"
94 [email protected] ")" 94 [email protected] ")"
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0027_ref_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0027_ref_pat.rast
index 9e76d881e..348b54dc9 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0027_ref_pat.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0027_ref_pat.rast
@@ -16,7 +16,7 @@ [email protected]
16 [email protected] " " 16 [email protected] " "
17 [email protected] 17 [email protected]
18 [email protected] "&" 18 [email protected] "&"
19 BIN[email protected] 19 IDENT[email protected]
20 [email protected] 20 [email protected]
21 [email protected] "a" 21 [email protected] "a"
22 [email protected] " " 22 [email protected] " "
@@ -34,7 +34,7 @@ [email protected]
34 [email protected] "&" 34 [email protected] "&"
35 [email protected] "mut" 35 [email protected] "mut"
36 [email protected] " " 36 [email protected] " "
37 BIN[email protected] 37 IDENT[email protected]
38 [email protected] 38 [email protected]
39 [email protected] "b" 39 [email protected] "b"
40 [email protected] " " 40 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0031_while_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0031_while_expr.rast
index ffe1a3a01..173cecf6d 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0031_while_expr.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0031_while_expr.rast
@@ -37,7 +37,7 @@ [email protected]
37 [email protected] 37 [email protected]
38 [email protected] "Some" 38 [email protected] "Some"
39 [email protected] "(" 39 [email protected] "("
40 BIN[email protected] 40 IDENT[email protected]
41 [email protected] 41 [email protected]
42 [email protected] "x" 42 [email protected] "x"
43 [email protected] ")" 43 [email protected] ")"
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0066_match_arm.rast b/crates/ra_syntax/test_data/parser/inline/ok/0066_match_arm.rast
index d873a7ecb..57d0661a5 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0066_match_arm.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0066_match_arm.rast
@@ -74,13 +74,13 @@ [email protected]
74 [email protected] "\n " 74 [email protected] "\n "
75 [email protected] 75 [email protected]
76 [email protected] 76 [email protected]
77 BIN[email protected] 77 IDENT[email protected]
78 [email protected] 78 [email protected]
79 [email protected] "X" 79 [email protected] "X"
80 [email protected] " " 80 [email protected] " "
81 [email protected] "|" 81 [email protected] "|"
82 [email protected] " " 82 [email protected] " "
83 BIN[email protected] 83 IDENT[email protected]
84 [email protected] 84 [email protected]
85 [email protected] "Y" 85 [email protected] "Y"
86 [email protected] " " 86 [email protected] " "
@@ -104,13 +104,13 @@ [email protected]
104 [email protected] "|" 104 [email protected] "|"
105 [email protected] " " 105 [email protected] " "
106 [email protected] 106 [email protected]
107 BIN[email protected] 107 IDENT[email protected]
108 [email protected] 108 [email protected]
109 [email protected] "X" 109 [email protected] "X"
110 [email protected] " " 110 [email protected] " "
111 [email protected] "|" 111 [email protected] "|"
112 [email protected] " " 112 [email protected] " "
113 BIN[email protected] 113 IDENT[email protected]
114 [email protected] 114 [email protected]
115 [email protected] "Y" 115 [email protected] "Y"
116 [email protected] " " 116 [email protected] " "
@@ -133,7 +133,7 @@ [email protected]
133 [email protected] 133 [email protected]
134 [email protected] "|" 134 [email protected] "|"
135 [email protected] " " 135 [email protected] " "
136 BIN[email protected] 136 IDENT[email protected]
137 [email protected] 137 [email protected]
138 [email protected] "X" 138 [email protected] "X"
139 [email protected] " " 139 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0080_postfix_range.rast b/crates/ra_syntax/test_data/parser/inline/ok/0080_postfix_range.rast
index 0c19d29c6..b3003577c 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0080_postfix_range.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0080_postfix_range.rast
@@ -14,7 +14,7 @@ [email protected]
14 [email protected] 14 [email protected]
15 [email protected] "let" 15 [email protected] "let"
16 [email protected] " " 16 [email protected] " "
17 BIN[email protected] 17 IDENT[email protected]
18 [email protected] 18 [email protected]
19 [email protected] "x" 19 [email protected] "x"
20 [email protected] " " 20 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0088_break_ambiguity.rast b/crates/ra_syntax/test_data/parser/inline/ok/0088_break_ambiguity.rast
index 34f520994..f7b839303 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0088_break_ambiguity.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0088_break_ambiguity.rast
@@ -38,7 +38,7 @@ [email protected]
38 [email protected] 38 [email protected]
39 [email protected] "for" 39 [email protected] "for"
40 [email protected] " " 40 [email protected] " "
41 BIN[email protected] 41 IDENT[email protected]
42 [email protected] 42 [email protected]
43 [email protected] "i" 43 [email protected] "i"
44 [email protected] " " 44 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0099_param_list.rast b/crates/ra_syntax/test_data/parser/inline/ok/0099_param_list.rast
index 1627556c8..f19e9fd52 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0099_param_list.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0099_param_list.rast
@@ -20,7 +20,7 @@ [email protected]
20 [email protected] 20 [email protected]
21 [email protected] "(" 21 [email protected] "("
22 [email protected] 22 [email protected]
23 BIN[email protected] 23 IDENT[email protected]
24 [email protected] 24 [email protected]
25 [email protected] "x" 25 [email protected] "x"
26 [email protected] ":" 26 [email protected] ":"
@@ -44,7 +44,7 @@ [email protected]
44 [email protected] 44 [email protected]
45 [email protected] "(" 45 [email protected] "("
46 [email protected] 46 [email protected]
47 BIN[email protected] 47 IDENT[email protected]
48 [email protected] 48 [email protected]
49 [email protected] "x" 49 [email protected] "x"
50 [email protected] ":" 50 [email protected] ":"
@@ -70,7 +70,7 @@ [email protected]
70 [email protected] 70 [email protected]
71 [email protected] "(" 71 [email protected] "("
72 [email protected] 72 [email protected]
73 BIN[email protected] 73 IDENT[email protected]
74 [email protected] 74 [email protected]
75 [email protected] "x" 75 [email protected] "x"
76 [email protected] ":" 76 [email protected] ":"
@@ -83,7 +83,7 @@ [email protected]
83 [email protected] "," 83 [email protected] ","
84 [email protected] " " 84 [email protected] " "
85 [email protected] 85 [email protected]
86 BIN[email protected] 86 IDENT[email protected]
87 [email protected] 87 [email protected]
88 [email protected] "y" 88 [email protected] "y"
89 [email protected] ":" 89 [email protected] ":"
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0100_for_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0100_for_expr.rast
index 766de4efe..5c4055e44 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0100_for_expr.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0100_for_expr.rast
@@ -15,7 +15,7 @@ [email protected]
15 [email protected] 15 [email protected]
16 [email protected] "for" 16 [email protected] "for"
17 [email protected] " " 17 [email protected] " "
18 BIN[email protected] 18 IDENT[email protected]
19 [email protected] 19 [email protected]
20 [email protected] "x" 20 [email protected] "x"
21 [email protected] " " 21 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0102_record_field_pat_list.rast b/crates/ra_syntax/test_data/parser/inline/ok/0102_record_field_pat_list.rast
index d0f70e9d7..866e60ed8 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0102_record_field_pat_list.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0102_record_field_pat_list.rast
@@ -44,13 +44,13 @@ [email protected]
44 [email protected] "{" 44 [email protected] "{"
45 [email protected] " " 45 [email protected] " "
46 [email protected] 46 [email protected]
47 BIN[email protected] 47 IDENT[email protected]
48 [email protected] 48 [email protected]
49 [email protected] "f" 49 [email protected] "f"
50 [email protected] "," 50 [email protected] ","
51 [email protected] " " 51 [email protected] " "
52 [email protected] 52 [email protected]
53 BIN[email protected] 53 IDENT[email protected]
54 [email protected] "ref" 54 [email protected] "ref"
55 [email protected] " " 55 [email protected] " "
56 [email protected] "mut" 56 [email protected] "mut"
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0106_lambda_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0106_lambda_expr.rast
index a80d79563..9b8381619 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0106_lambda_expr.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0106_lambda_expr.rast
@@ -51,7 +51,7 @@ [email protected]
51 [email protected] 51 [email protected]
52 [email protected] "|" 52 [email protected] "|"
53 [email protected] 53 [email protected]
54 BIN[email protected] 54 IDENT[email protected]
55 [email protected] 55 [email protected]
56 [email protected] "x" 56 [email protected] "x"
57 [email protected] "|" 57 [email protected] "|"
@@ -70,7 +70,7 @@ [email protected]
70 [email protected] 70 [email protected]
71 [email protected] "|" 71 [email protected] "|"
72 [email protected] 72 [email protected]
73 BIN[email protected] 73 IDENT[email protected]
74 [email protected] 74 [email protected]
75 [email protected] "x" 75 [email protected] "x"
76 [email protected] ":" 76 [email protected] ":"
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0109_label.rast b/crates/ra_syntax/test_data/parser/inline/ok/0109_label.rast
index a6a169f1b..c9588025c 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0109_label.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0109_label.rast
@@ -46,7 +46,7 @@ [email protected]
46 [email protected] " " 46 [email protected] " "
47 [email protected] "for" 47 [email protected] "for"
48 [email protected] " " 48 [email protected] " "
49 BIN[email protected] 49 IDENT[email protected]
50 [email protected] 50 [email protected]
51 [email protected] "x" 51 [email protected] "x"
52 [email protected] " " 52 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0111_tuple_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0111_tuple_pat.rast
index 432318da0..f94a2ebde 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0111_tuple_pat.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0111_tuple_pat.rast
@@ -16,12 +16,12 @@ [email protected]
16 [email protected] " " 16 [email protected] " "
17 [email protected] 17 [email protected]
18 [email protected] "(" 18 [email protected] "("
19 BIN[email protected] 19 IDENT[email protected]
20 [email protected] 20 [email protected]
21 [email protected] "a" 21 [email protected] "a"
22 [email protected] "," 22 [email protected] ","
23 [email protected] " " 23 [email protected] " "
24 BIN[email protected] 24 IDENT[email protected]
25 [email protected] 25 [email protected]
26 [email protected] "b" 26 [email protected] "b"
27 [email protected] "," 27 [email protected] ","
@@ -42,7 +42,7 @@ [email protected]
42 [email protected] " " 42 [email protected] " "
43 [email protected] 43 [email protected]
44 [email protected] "(" 44 [email protected] "("
45 BIN[email protected] 45 IDENT[email protected]
46 [email protected] 46 [email protected]
47 [email protected] "a" 47 [email protected] "a"
48 [email protected] "," 48 [email protected] ","
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0112_bind_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0112_bind_pat.rast
index 65d5944c0..7b9a498c8 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0112_bind_pat.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0112_bind_pat.rast
@@ -14,7 +14,7 @@ [email protected]
14 [email protected] 14 [email protected]
15 [email protected] "let" 15 [email protected] "let"
16 [email protected] " " 16 [email protected] " "
17 BIN[email protected] 17 IDENT[email protected]
18 [email protected] 18 [email protected]
19 [email protected] "a" 19 [email protected] "a"
20 [email protected] " " 20 [email protected] " "
@@ -28,7 +28,7 @@ [email protected]
28 [email protected] 28 [email protected]
29 [email protected] "let" 29 [email protected] "let"
30 [email protected] " " 30 [email protected] " "
31 BIN[email protected] 31 IDENT[email protected]
32 [email protected] "mut" 32 [email protected] "mut"
33 [email protected] " " 33 [email protected] " "
34 [email protected] 34 [email protected]
@@ -44,7 +44,7 @@ [email protected]
44 [email protected] 44 [email protected]
45 [email protected] "let" 45 [email protected] "let"
46 [email protected] " " 46 [email protected] " "
47 BIN[email protected] 47 IDENT[email protected]
48 [email protected] "ref" 48 [email protected] "ref"
49 [email protected] " " 49 [email protected] " "
50 [email protected] 50 [email protected]
@@ -60,7 +60,7 @@ [email protected]
60 [email protected] 60 [email protected]
61 [email protected] "let" 61 [email protected] "let"
62 [email protected] " " 62 [email protected] " "
63 BIN[email protected] 63 IDENT[email protected]
64 [email protected] "ref" 64 [email protected] "ref"
65 [email protected] " " 65 [email protected] " "
66 [email protected] "mut" 66 [email protected] "mut"
@@ -78,7 +78,7 @@ [email protected]
78 [email protected] 78 [email protected]
79 [email protected] "let" 79 [email protected] "let"
80 [email protected] " " 80 [email protected] " "
81 BIN[email protected] 81 IDENT[email protected]
82 [email protected] 82 [email protected]
83 [email protected] "e" 83 [email protected] "e"
84 [email protected] " " 84 [email protected] " "
@@ -97,7 +97,7 @@ [email protected]
97 [email protected] 97 [email protected]
98 [email protected] "let" 98 [email protected] "let"
99 [email protected] " " 99 [email protected] " "
100 BIN[email protected] 100 IDENT[email protected]
101 [email protected] "ref" 101 [email protected] "ref"
102 [email protected] " " 102 [email protected] " "
103 [email protected] "mut" 103 [email protected] "mut"
@@ -107,7 +107,7 @@ [email protected]
107 [email protected] " " 107 [email protected] " "
108 [email protected] "@" 108 [email protected] "@"
109 [email protected] " " 109 [email protected] " "
110 BIN[email protected] 110 IDENT[email protected]
111 [email protected] 111 [email protected]
112 [email protected] "g" 112 [email protected] "g"
113 [email protected] " " 113 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rast b/crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rast
index f155743cf..27c4f141f 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rast
@@ -16,7 +16,7 @@ [email protected]
16 [email protected] 16 [email protected]
17 [email protected] "(" 17 [email protected] "("
18 [email protected] 18 [email protected]
19 BIN[email protected] 19 IDENT[email protected]
20 [email protected] 20 [email protected]
21 [email protected] "format" 21 [email protected] "format"
22 [email protected] ":" 22 [email protected] ":"
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rast b/crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rast
index 16d616bd4..4c07cefa6 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rast
@@ -14,7 +14,7 @@ [email protected]
14 [email protected] 14 [email protected]
15 [email protected] "let" 15 [email protected] "let"
16 [email protected] " " 16 [email protected] " "
17 BIN[email protected] 17 IDENT[email protected]
18 [email protected] 18 [email protected]
19 [email protected] "a" 19 [email protected] "a"
20 [email protected] ";" 20 [email protected] ";"
@@ -22,7 +22,7 @@ [email protected]
22 [email protected] 22 [email protected]
23 [email protected] "let" 23 [email protected] "let"
24 [email protected] " " 24 [email protected] " "
25 BIN[email protected] 25 IDENT[email protected]
26 [email protected] 26 [email protected]
27 [email protected] "b" 27 [email protected] "b"
28 [email protected] ":" 28 [email protected] ":"
@@ -37,7 +37,7 @@ [email protected]
37 [email protected] 37 [email protected]
38 [email protected] "let" 38 [email protected] "let"
39 [email protected] " " 39 [email protected] " "
40 BIN[email protected] 40 IDENT[email protected]
41 [email protected] 41 [email protected]
42 [email protected] "c" 42 [email protected] "c"
43 [email protected] " " 43 [email protected] " "
@@ -50,7 +50,7 @@ [email protected]
50 [email protected] 50 [email protected]
51 [email protected] "let" 51 [email protected] "let"
52 [email protected] " " 52 [email protected] " "
53 BIN[email protected] 53 IDENT[email protected]
54 [email protected] 54 [email protected]
55 [email protected] "d" 55 [email protected] "d"
56 [email protected] ":" 56 [email protected] ":"
@@ -70,7 +70,7 @@ [email protected]
70 [email protected] 70 [email protected]
71 [email protected] "let" 71 [email protected] "let"
72 [email protected] " " 72 [email protected] " "
73 BIN[email protected] 73 IDENT[email protected]
74 [email protected] 74 [email protected]
75 [email protected] "e" 75 [email protected] "e"
76 [email protected] ":" 76 [email protected] ":"
@@ -99,7 +99,7 @@ [email protected]
99 [email protected] 99 [email protected]
100 [email protected] "let" 100 [email protected] "let"
101 [email protected] " " 101 [email protected] " "
102 BIN[email protected] 102 IDENT[email protected]
103 [email protected] 103 [email protected]
104 [email protected] "f" 104 [email protected] "f"
105 [email protected] " " 105 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0132_box_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0132_box_expr.rast
index 48f483813..c55038247 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0132_box_expr.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0132_box_expr.rast
@@ -14,7 +14,7 @@ [email protected]
14 [email protected] 14 [email protected]
15 [email protected] "let" 15 [email protected] "let"
16 [email protected] " " 16 [email protected] " "
17 BIN[email protected] 17 IDENT[email protected]
18 [email protected] 18 [email protected]
19 [email protected] "x" 19 [email protected] "x"
20 [email protected] " " 20 [email protected] " "
@@ -30,7 +30,7 @@ [email protected]
30 [email protected] 30 [email protected]
31 [email protected] "let" 31 [email protected] "let"
32 [email protected] " " 32 [email protected] " "
33 BIN[email protected] 33 IDENT[email protected]
34 [email protected] 34 [email protected]
35 [email protected] "y" 35 [email protected] "y"
36 [email protected] " " 36 [email protected] " "
@@ -56,7 +56,7 @@ [email protected]
56 [email protected] 56 [email protected]
57 [email protected] "let" 57 [email protected] "let"
58 [email protected] " " 58 [email protected] " "
59 BIN[email protected] 59 IDENT[email protected]
60 [email protected] 60 [email protected]
61 [email protected] "z" 61 [email protected] "z"
62 [email protected] " " 62 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0138_associated_type_bounds.rast b/crates/ra_syntax/test_data/parser/inline/ok/0138_associated_type_bounds.rast
index e0a82df75..3870ec135 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0138_associated_type_bounds.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0138_associated_type_bounds.rast
@@ -37,7 +37,7 @@ [email protected]
37 [email protected] 37 [email protected]
38 [email protected] "(" 38 [email protected] "("
39 [email protected] 39 [email protected]
40 BIN[email protected] 40 IDENT[email protected]
41 [email protected] 41 [email protected]
42 [email protected] "printables" 42 [email protected] "printables"
43 [email protected] ":" 43 [email protected] ":"
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rast b/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rast
index a7f87c020..f7c0e0ab0 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rast
@@ -14,7 +14,7 @@ [email protected]
14 [email protected] 14 [email protected]
15 [email protected] "let" 15 [email protected] "let"
16 [email protected] " " 16 [email protected] " "
17 BIN[email protected] 17 IDENT[email protected]
18 [email protected] "mut" 18 [email protected] "mut"
19 [email protected] " " 19 [email protected] " "
20 [email protected] 20 [email protected]
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0139_param_outer_arg.rast b/crates/ra_syntax/test_data/parser/inline/ok/0139_param_outer_arg.rast
index 36fd2997b..495e4c51b 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0139_param_outer_arg.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0139_param_outer_arg.rast
@@ -16,7 +16,7 @@ [email protected]
16 [email protected] "]" 16 [email protected] "]"
17 [email protected] " " 17 [email protected] " "
18 [email protected] 18 [email protected]
19 BIN[email protected] 19 IDENT[email protected]
20 [email protected] 20 [email protected]
21 [email protected] "pat" 21 [email protected] "pat"
22 [email protected] ":" 22 [email protected] ":"
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.rast b/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.rast
index d11019076..36e448c94 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.rast
@@ -14,7 +14,7 @@ [email protected]
14 [email protected] 14 [email protected]
15 [email protected] "for" 15 [email protected] "for"
16 [email protected] " " 16 [email protected] " "
17 BIN[email protected] 17 IDENT[email protected]
18 [email protected] 18 [email protected]
19 [email protected] "x" 19 [email protected] "x"
20 [email protected] " " 20 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0143_box_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0143_box_pat.rast
index caae3e2dc..65887b962 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0143_box_pat.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0143_box_pat.rast
@@ -17,7 +17,7 @@ [email protected]
17 [email protected] 17 [email protected]
18 [email protected] "box" 18 [email protected] "box"
19 [email protected] " " 19 [email protected] " "
20 BIN[email protected] 20 IDENT[email protected]
21 [email protected] 21 [email protected]
22 [email protected] "i" 22 [email protected] "i"
23 [email protected] " " 23 [email protected] " "
@@ -47,7 +47,7 @@ [email protected]
47 [email protected] 47 [email protected]
48 [email protected] "box" 48 [email protected] "box"
49 [email protected] " " 49 [email protected] " "
50 BIN[email protected] 50 IDENT[email protected]
51 [email protected] 51 [email protected]
52 [email protected] "i" 52 [email protected] "i"
53 [email protected] "," 53 [email protected] ","
@@ -71,7 +71,7 @@ [email protected]
71 [email protected] " " 71 [email protected] " "
72 [email protected] 72 [email protected]
73 [email protected] "&" 73 [email protected] "&"
74 BIN[email protected] 74 IDENT[email protected]
75 [email protected] 75 [email protected]
76 [email protected] "x" 76 [email protected] "x"
77 [email protected] ")" 77 [email protected] ")"
@@ -91,7 +91,7 @@ [email protected]
91 [email protected] 91 [email protected]
92 [email protected] "box" 92 [email protected] "box"
93 [email protected] " " 93 [email protected] " "
94 BIN[email protected] 94 IDENT[email protected]
95 [email protected] "ref" 95 [email protected] "ref"
96 [email protected] " " 96 [email protected] " "
97 [email protected] "mut" 97 [email protected] "mut"
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0144_dot_dot_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0144_dot_dot_pat.rast
index 8d0f1ead5..8fb0db031 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0144_dot_dot_pat.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0144_dot_dot_pat.rast
@@ -35,7 +35,7 @@ [email protected]
35 [email protected] " " 35 [email protected] " "
36 [email protected] 36 [email protected]
37 [email protected] "(" 37 [email protected] "("
38 BIN[email protected] 38 IDENT[email protected]
39 [email protected] 39 [email protected]
40 [email protected] "a" 40 [email protected] "a"
41 [email protected] "," 41 [email protected] ","
@@ -56,7 +56,7 @@ [email protected]
56 [email protected] " " 56 [email protected] " "
57 [email protected] 57 [email protected]
58 [email protected] "(" 58 [email protected] "("
59 BIN[email protected] 59 IDENT[email protected]
60 [email protected] 60 [email protected]
61 [email protected] "a" 61 [email protected] "a"
62 [email protected] "," 62 [email protected] ","
@@ -82,7 +82,7 @@ [email protected]
82 [email protected] 82 [email protected]
83 [email protected] "Tuple" 83 [email protected] "Tuple"
84 [email protected] "(" 84 [email protected] "("
85 BIN[email protected] 85 IDENT[email protected]
86 [email protected] 86 [email protected]
87 [email protected] "a" 87 [email protected] "a"
88 [email protected] "," 88 [email protected] ","
@@ -107,7 +107,7 @@ [email protected]
107 [email protected] 107 [email protected]
108 [email protected] "Tuple" 108 [email protected] "Tuple"
109 [email protected] "(" 109 [email protected] "("
110 BIN[email protected] 110 IDENT[email protected]
111 [email protected] 111 [email protected]
112 [email protected] "a" 112 [email protected] "a"
113 [email protected] "," 113 [email protected] ","
@@ -177,7 +177,7 @@ [email protected]
177 [email protected] ".." 177 [email protected] ".."
178 [email protected] "," 178 [email protected] ","
179 [email protected] " " 179 [email protected] " "
180 BIN[email protected] 180 IDENT[email protected]
181 [email protected] 181 [email protected]
182 [email protected] "a" 182 [email protected] "a"
183 [email protected] "," 183 [email protected] ","
@@ -206,7 +206,7 @@ [email protected]
206 [email protected] ".." 206 [email protected] ".."
207 [email protected] "," 207 [email protected] ","
208 [email protected] " " 208 [email protected] " "
209 BIN[email protected] 209 IDENT[email protected]
210 [email protected] 210 [email protected]
211 [email protected] "a" 211 [email protected] "a"
212 [email protected] "," 212 [email protected] ","
@@ -249,7 +249,7 @@ [email protected]
249 [email protected] " " 249 [email protected] " "
250 [email protected] 250 [email protected]
251 [email protected] "[" 251 [email protected] "["
252 BIN[email protected] 252 IDENT[email protected]
253 [email protected] 253 [email protected]
254 [email protected] "head" 254 [email protected] "head"
255 [email protected] "," 255 [email protected] ","
@@ -270,12 +270,12 @@ [email protected]
270 [email protected] " " 270 [email protected] " "
271 [email protected] 271 [email protected]
272 [email protected] "[" 272 [email protected] "["
273 BIN[email protected] 273 IDENT[email protected]
274 [email protected] 274 [email protected]
275 [email protected] "head" 275 [email protected] "head"
276 [email protected] "," 276 [email protected] ","
277 [email protected] " " 277 [email protected] " "
278 BIN[email protected] 278 IDENT[email protected]
279 [email protected] 279 [email protected]
280 [email protected] "tail" 280 [email protected] "tail"
281 [email protected] " " 281 [email protected] " "
@@ -297,7 +297,7 @@ [email protected]
297 [email protected] " " 297 [email protected] " "
298 [email protected] 298 [email protected]
299 [email protected] "[" 299 [email protected] "["
300 BIN[email protected] 300 IDENT[email protected]
301 [email protected] 301 [email protected]
302 [email protected] "head" 302 [email protected] "head"
303 [email protected] "," 303 [email protected] ","
@@ -306,7 +306,7 @@ [email protected]
306 [email protected] ".." 306 [email protected] ".."
307 [email protected] "," 307 [email protected] ","
308 [email protected] " " 308 [email protected] " "
309 BIN[email protected] 309 IDENT[email protected]
310 [email protected] 310 [email protected]
311 [email protected] "cons" 311 [email protected] "cons"
312 [email protected] "]" 312 [email protected] "]"
@@ -323,12 +323,12 @@ [email protected]
323 [email protected] " " 323 [email protected] " "
324 [email protected] 324 [email protected]
325 [email protected] "[" 325 [email protected] "["
326 BIN[email protected] 326 IDENT[email protected]
327 [email protected] 327 [email protected]
328 [email protected] "head" 328 [email protected] "head"
329 [email protected] "," 329 [email protected] ","
330 [email protected] " " 330 [email protected] " "
331 BIN[email protected] 331 IDENT[email protected]
332 [email protected] 332 [email protected]
333 [email protected] "mid" 333 [email protected] "mid"
334 [email protected] " " 334 [email protected] " "
@@ -338,7 +338,7 @@ [email protected]
338 [email protected] ".." 338 [email protected] ".."
339 [email protected] "," 339 [email protected] ","
340 [email protected] " " 340 [email protected] " "
341 BIN[email protected] 341 IDENT[email protected]
342 [email protected] 342 [email protected]
343 [email protected] "cons" 343 [email protected] "cons"
344 [email protected] "]" 344 [email protected] "]"
@@ -355,7 +355,7 @@ [email protected]
355 [email protected] " " 355 [email protected] " "
356 [email protected] 356 [email protected]
357 [email protected] "[" 357 [email protected] "["
358 BIN[email protected] 358 IDENT[email protected]
359 [email protected] 359 [email protected]
360 [email protected] "head" 360 [email protected] "head"
361 [email protected] "," 361 [email protected] ","
@@ -368,7 +368,7 @@ [email protected]
368 [email protected] ".." 368 [email protected] ".."
369 [email protected] "," 369 [email protected] ","
370 [email protected] " " 370 [email protected] " "
371 BIN[email protected] 371 IDENT[email protected]
372 [email protected] 372 [email protected]
373 [email protected] "cons" 373 [email protected] "cons"
374 [email protected] "]" 374 [email protected] "]"
@@ -385,7 +385,7 @@ [email protected]
385 [email protected] " " 385 [email protected] " "
386 [email protected] 386 [email protected]
387 [email protected] "[" 387 [email protected] "["
388 BIN[email protected] 388 IDENT[email protected]
389 [email protected] 389 [email protected]
390 [email protected] "head" 390 [email protected] "head"
391 [email protected] "," 391 [email protected] ","
@@ -394,12 +394,12 @@ [email protected]
394 [email protected] ".." 394 [email protected] ".."
395 [email protected] "," 395 [email protected] ","
396 [email protected] " " 396 [email protected] " "
397 BIN[email protected] 397 IDENT[email protected]
398 [email protected] 398 [email protected]
399 [email protected] "mid" 399 [email protected] "mid"
400 [email protected] "," 400 [email protected] ","
401 [email protected] " " 401 [email protected] " "
402 BIN[email protected] 402 IDENT[email protected]
403 [email protected] 403 [email protected]
404 [email protected] "tail" 404 [email protected] "tail"
405 [email protected] " " 405 [email protected] " "
@@ -421,7 +421,7 @@ [email protected]
421 [email protected] " " 421 [email protected] " "
422 [email protected] 422 [email protected]
423 [email protected] "[" 423 [email protected] "["
424 BIN[email protected] 424 IDENT[email protected]
425 [email protected] 425 [email protected]
426 [email protected] "head" 426 [email protected] "head"
427 [email protected] "," 427 [email protected] ","
@@ -430,7 +430,7 @@ [email protected]
430 [email protected] ".." 430 [email protected] ".."
431 [email protected] "," 431 [email protected] ","
432 [email protected] " " 432 [email protected] " "
433 BIN[email protected] 433 IDENT[email protected]
434 [email protected] 434 [email protected]
435 [email protected] "mid" 435 [email protected] "mid"
436 [email protected] "," 436 [email protected] ","
@@ -439,7 +439,7 @@ [email protected]
439 [email protected] ".." 439 [email protected] ".."
440 [email protected] "," 440 [email protected] ","
441 [email protected] " " 441 [email protected] " "
442 BIN[email protected] 442 IDENT[email protected]
443 [email protected] 443 [email protected]
444 [email protected] "cons" 444 [email protected] "cons"
445 [email protected] "]" 445 [email protected] "]"
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0154_fn_pointer_param_ident_path.rast b/crates/ra_syntax/test_data/parser/inline/ok/0154_fn_pointer_param_ident_path.rast
index 69b4d73d7..c48fed03e 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0154_fn_pointer_param_ident_path.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0154_fn_pointer_param_ident_path.rast
@@ -38,7 +38,7 @@ [email protected]
38 [email protected] 38 [email protected]
39 [email protected] "(" 39 [email protected] "("
40 [email protected] 40 [email protected]
41 BIN[email protected] 41 IDENT[email protected]
42 [email protected] 42 [email protected]
43 [email protected] "baz" 43 [email protected] "baz"
44 [email protected] ":" 44 [email protected] ":"
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0155_closure_params.rast b/crates/ra_syntax/test_data/parser/inline/ok/0155_closure_params.rast
index 0a9f7c137..31671b420 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0155_closure_params.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0155_closure_params.rast
@@ -14,7 +14,7 @@ [email protected]
14 [email protected] 14 [email protected]
15 [email protected] "let" 15 [email protected] "let"
16 [email protected] " " 16 [email protected] " "
17 BIN[email protected] 17 IDENT[email protected]
18 [email protected] 18 [email protected]
19 [email protected] "foo" 19 [email protected] "foo"
20 [email protected] " " 20 [email protected] " "
@@ -24,13 +24,13 @@ [email protected]
24 [email protected] 24 [email protected]
25 [email protected] "|" 25 [email protected] "|"
26 [email protected] 26 [email protected]
27 BIN[email protected] 27 IDENT[email protected]
28 [email protected] 28 [email protected]
29 [email protected] "bar" 29 [email protected] "bar"
30 [email protected] "," 30 [email protected] ","
31 [email protected] " " 31 [email protected] " "
32 [email protected] 32 [email protected]
33 BIN[email protected] 33 IDENT[email protected]
34 [email protected] 34 [email protected]
35 [email protected] "baz" 35 [email protected] "baz"
36 [email protected] ":" 36 [email protected] ":"
@@ -43,7 +43,7 @@ [email protected]
43 [email protected] "," 43 [email protected] ","
44 [email protected] " " 44 [email protected] " "
45 [email protected] 45 [email protected]
46 BIN[email protected] 46 IDENT[email protected]
47 [email protected] 47 [email protected]
48 [email protected] "qux" 48 [email protected] "qux"
49 [email protected] ":" 49 [email protected] ":"
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0156_fn_def_param.rast b/crates/ra_syntax/test_data/parser/inline/ok/0156_fn_def_param.rast
index 3b8dfefc6..508b4aca7 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0156_fn_def_param.rast
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0156_fn_def_param.rast
@@ -9,12 +9,12 @@ [email protected]
9 [email protected] 9 [email protected]
10 [email protected] 10 [email protected]
11 [email protected] "(" 11 [email protected] "("
12 BIN[email protected] 12 IDENT[email protected]
13 [email protected] 13 [email protected]
14 [email protected] "x" 14 [email protected] "x"
15 [email protected] "," 15 [email protected] ","
16 [email protected] " " 16 [email protected] " "
17 BIN[email protected] 17 IDENT[email protected]
18 [email protected] 18 [email protected]
19 [email protected] "y" 19 [email protected] "y"
20 [email protected] ")" 20 [email protected] ")"
diff --git a/crates/ra_syntax/test_data/parser/ok/0028_operator_binding_power.rast b/crates/ra_syntax/test_data/parser/ok/0028_operator_binding_power.rast
index efe018484..3271a4695 100644
--- a/crates/ra_syntax/test_data/parser/ok/0028_operator_binding_power.rast
+++ b/crates/ra_syntax/test_data/parser/ok/0028_operator_binding_power.rast
@@ -14,7 +14,7 @@ [email protected]
14 [email protected] 14 [email protected]
15 [email protected] "let" 15 [email protected] "let"
16 [email protected] " " 16 [email protected] " "
17 BIN[email protected] 17 IDENT[email protected]
18 [email protected] 18 [email protected]
19 [email protected] "x" 19 [email protected] "x"
20 [email protected] " " 20 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/ok/0029_range_forms.rast b/crates/ra_syntax/test_data/parser/ok/0029_range_forms.rast
index 47e46f009..a732f11c4 100644
--- a/crates/ra_syntax/test_data/parser/ok/0029_range_forms.rast
+++ b/crates/ra_syntax/test_data/parser/ok/0029_range_forms.rast
@@ -67,7 +67,7 @@ [email protected]
67 [email protected] 67 [email protected]
68 [email protected] "let" 68 [email protected] "let"
69 [email protected] " " 69 [email protected] " "
70 BIN[email protected] 70 IDENT[email protected]
71 [email protected] 71 [email protected]
72 [email protected] "x" 72 [email protected] "x"
73 [email protected] " " 73 [email protected] " "
@@ -135,7 +135,7 @@ [email protected]
135 [email protected] 135 [email protected]
136 [email protected] "let" 136 [email protected] "let"
137 [email protected] " " 137 [email protected] " "
138 BIN[email protected] 138 IDENT[email protected]
139 [email protected] 139 [email protected]
140 [email protected] "x" 140 [email protected] "x"
141 [email protected] " " 141 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/ok/0030_traits.rast b/crates/ra_syntax/test_data/parser/ok/0030_traits.rast
index 280d4cb82..d07c6683a 100644
--- a/crates/ra_syntax/test_data/parser/ok/0030_traits.rast
+++ b/crates/ra_syntax/test_data/parser/ok/0030_traits.rast
@@ -37,7 +37,7 @@ [email protected]
37 [email protected] 37 [email protected]
38 [email protected] "(" 38 [email protected] "("
39 [email protected] 39 [email protected]
40 BIN[email protected] 40 IDENT[email protected]
41 [email protected] 41 [email protected]
42 [email protected] "x" 42 [email protected] "x"
43 [email protected] ":" 43 [email protected] ":"
diff --git a/crates/ra_syntax/test_data/parser/ok/0031_extern.rast b/crates/ra_syntax/test_data/parser/ok/0031_extern.rast
index 0509f7504..79ea098a2 100644
--- a/crates/ra_syntax/test_data/parser/ok/0031_extern.rast
+++ b/crates/ra_syntax/test_data/parser/ok/0031_extern.rast
@@ -17,7 +17,7 @@ [email protected]
17 [email protected] 17 [email protected]
18 [email protected] "(" 18 [email protected] "("
19 [email protected] 19 [email protected]
20 BIN[email protected] 20 IDENT[email protected]
21 [email protected] 21 [email protected]
22 [email protected] "domain" 22 [email protected] "domain"
23 [email protected] ":" 23 [email protected] ":"
@@ -31,7 +31,7 @@ [email protected]
31 [email protected] "," 31 [email protected] ","
32 [email protected] " " 32 [email protected] " "
33 [email protected] 33 [email protected]
34 BIN[email protected] 34 IDENT[email protected]
35 [email protected] 35 [email protected]
36 [email protected] "ty" 36 [email protected] "ty"
37 [email protected] ":" 37 [email protected] ":"
@@ -45,7 +45,7 @@ [email protected]
45 [email protected] "," 45 [email protected] ","
46 [email protected] " " 46 [email protected] " "
47 [email protected] 47 [email protected]
48 BIN[email protected] 48 IDENT[email protected]
49 [email protected] 49 [email protected]
50 [email protected] "protocol" 50 [email protected] "protocol"
51 [email protected] ":" 51 [email protected] ":"
@@ -80,7 +80,7 @@ [email protected]
80 [email protected] 80 [email protected]
81 [email protected] "(" 81 [email protected] "("
82 [email protected] 82 [email protected]
83 BIN[email protected] 83 IDENT[email protected]
84 [email protected] 84 [email protected]
85 [email protected] "fd" 85 [email protected] "fd"
86 [email protected] ":" 86 [email protected] ":"
@@ -94,7 +94,7 @@ [email protected]
94 [email protected] "," 94 [email protected] ","
95 [email protected] " " 95 [email protected] " "
96 [email protected] 96 [email protected]
97 BIN[email protected] 97 IDENT[email protected]
98 [email protected] 98 [email protected]
99 [email protected] "addr" 99 [email protected] "addr"
100 [email protected] ":" 100 [email protected] ":"
@@ -111,7 +111,7 @@ [email protected]
111 [email protected] "," 111 [email protected] ","
112 [email protected] " " 112 [email protected] " "
113 [email protected] 113 [email protected]
114 BIN[email protected] 114 IDENT[email protected]
115 [email protected] 115 [email protected]
116 [email protected] "len" 116 [email protected] "len"
117 [email protected] ":" 117 [email protected] ":"
@@ -145,7 +145,7 @@ [email protected]
145 [email protected] 145 [email protected]
146 [email protected] "(" 146 [email protected] "("
147 [email protected] 147 [email protected]
148 BIN[email protected] 148 IDENT[email protected]
149 [email protected] 149 [email protected]
150 [email protected] "socket" 150 [email protected] "socket"
151 [email protected] ":" 151 [email protected] ":"
@@ -159,7 +159,7 @@ [email protected]
159 [email protected] "," 159 [email protected] ","
160 [email protected] " " 160 [email protected] " "
161 [email protected] 161 [email protected]
162 BIN[email protected] 162 IDENT[email protected]
163 [email protected] 163 [email protected]
164 [email protected] "address" 164 [email protected] "address"
165 [email protected] ":" 165 [email protected] ":"
@@ -176,7 +176,7 @@ [email protected]
176 [email protected] "," 176 [email protected] ","
177 [email protected] "\n " 177 [email protected] "\n "
178 [email protected] 178 [email protected]
179 BIN[email protected] 179 IDENT[email protected]
180 [email protected] 180 [email protected]
181 [email protected] "len" 181 [email protected] "len"
182 [email protected] ":" 182 [email protected] ":"
@@ -210,7 +210,7 @@ [email protected]
210 [email protected] 210 [email protected]
211 [email protected] "(" 211 [email protected] "("
212 [email protected] 212 [email protected]
213 BIN[email protected] 213 IDENT[email protected]
214 [email protected] 214 [email protected]
215 [email protected] "socket" 215 [email protected] "socket"
216 [email protected] ":" 216 [email protected] ":"
@@ -224,7 +224,7 @@ [email protected]
224 [email protected] "," 224 [email protected] ","
225 [email protected] " " 225 [email protected] " "
226 [email protected] 226 [email protected]
227 BIN[email protected] 227 IDENT[email protected]
228 [email protected] 228 [email protected]
229 [email protected] "backlog" 229 [email protected] "backlog"
230 [email protected] ":" 230 [email protected] ":"
@@ -259,7 +259,7 @@ [email protected]
259 [email protected] 259 [email protected]
260 [email protected] "(" 260 [email protected] "("
261 [email protected] 261 [email protected]
262 BIN[email protected] 262 IDENT[email protected]
263 [email protected] 263 [email protected]
264 [email protected] "socket" 264 [email protected] "socket"
265 [email protected] ":" 265 [email protected] ":"
@@ -273,7 +273,7 @@ [email protected]
273 [email protected] "," 273 [email protected] ","
274 [email protected] " " 274 [email protected] " "
275 [email protected] 275 [email protected]
276 BIN[email protected] 276 IDENT[email protected]
277 [email protected] 277 [email protected]
278 [email protected] "address" 278 [email protected] "address"
279 [email protected] ":" 279 [email protected] ":"
@@ -290,7 +290,7 @@ [email protected]
290 [email protected] "," 290 [email protected] ","
291 [email protected] "\n " 291 [email protected] "\n "
292 [email protected] 292 [email protected]
293 BIN[email protected] 293 IDENT[email protected]
294 [email protected] 294 [email protected]
295 [email protected] "address_len" 295 [email protected] "address_len"
296 [email protected] ":" 296 [email protected] ":"
@@ -328,7 +328,7 @@ [email protected]
328 [email protected] 328 [email protected]
329 [email protected] "(" 329 [email protected] "("
330 [email protected] 330 [email protected]
331 BIN[email protected] 331 IDENT[email protected]
332 [email protected] 332 [email protected]
333 [email protected] "sockfd" 333 [email protected] "sockfd"
334 [email protected] ":" 334 [email protected] ":"
@@ -342,7 +342,7 @@ [email protected]
342 [email protected] "," 342 [email protected] ","
343 [email protected] "\n " 343 [email protected] "\n "
344 [email protected] 344 [email protected]
345 BIN[email protected] 345 IDENT[email protected]
346 [email protected] 346 [email protected]
347 [email protected] "level" 347 [email protected] "level"
348 [email protected] ":" 348 [email protected] ":"
@@ -356,7 +356,7 @@ [email protected]
356 [email protected] "," 356 [email protected] ","
357 [email protected] "\n " 357 [email protected] "\n "
358 [email protected] 358 [email protected]
359 BIN[email protected] 359 IDENT[email protected]
360 [email protected] 360 [email protected]
361 [email protected] "optname" 361 [email protected] "optname"
362 [email protected] ":" 362 [email protected] ":"
@@ -370,7 +370,7 @@ [email protected]
370 [email protected] "," 370 [email protected] ","
371 [email protected] "\n " 371 [email protected] "\n "
372 [email protected] 372 [email protected]
373 BIN[email protected] 373 IDENT[email protected]
374 [email protected] 374 [email protected]
375 [email protected] "optval" 375 [email protected] "optval"
376 [email protected] ":" 376 [email protected] ":"
@@ -388,7 +388,7 @@ [email protected]
388 [email protected] "," 388 [email protected] ","
389 [email protected] "\n " 389 [email protected] "\n "
390 [email protected] 390 [email protected]
391 BIN[email protected] 391 IDENT[email protected]
392 [email protected] 392 [email protected]
393 [email protected] "optlen" 393 [email protected] "optlen"
394 [email protected] ":" 394 [email protected] ":"
@@ -427,7 +427,7 @@ [email protected]
427 [email protected] 427 [email protected]
428 [email protected] "(" 428 [email protected] "("
429 [email protected] 429 [email protected]
430 BIN[email protected] 430 IDENT[email protected]
431 [email protected] 431 [email protected]
432 [email protected] "socket" 432 [email protected] "socket"
433 [email protected] ":" 433 [email protected] ":"
@@ -441,7 +441,7 @@ [email protected]
441 [email protected] "," 441 [email protected] ","
442 [email protected] " " 442 [email protected] " "
443 [email protected] 443 [email protected]
444 BIN[email protected] 444 IDENT[email protected]
445 [email protected] 445 [email protected]
446 [email protected] "level" 446 [email protected] "level"
447 [email protected] ":" 447 [email protected] ":"
@@ -455,7 +455,7 @@ [email protected]
455 [email protected] "," 455 [email protected] ","
456 [email protected] " " 456 [email protected] " "
457 [email protected] 457 [email protected]
458 BIN[email protected] 458 IDENT[email protected]
459 [email protected] 459 [email protected]
460 [email protected] "name" 460 [email protected] "name"
461 [email protected] ":" 461 [email protected] ":"
@@ -469,7 +469,7 @@ [email protected]
469 [email protected] "," 469 [email protected] ","
470 [email protected] "\n " 470 [email protected] "\n "
471 [email protected] 471 [email protected]
472 BIN[email protected] 472 IDENT[email protected]
473 [email protected] 473 [email protected]
474 [email protected] "value" 474 [email protected] "value"
475 [email protected] ":" 475 [email protected] ":"
@@ -487,7 +487,7 @@ [email protected]
487 [email protected] "," 487 [email protected] ","
488 [email protected] "\n " 488 [email protected] "\n "
489 [email protected] 489 [email protected]
490 BIN[email protected] 490 IDENT[email protected]
491 [email protected] 491 [email protected]
492 [email protected] "option_len" 492 [email protected] "option_len"
493 [email protected] ":" 493 [email protected] ":"
@@ -521,7 +521,7 @@ [email protected]
521 [email protected] 521 [email protected]
522 [email protected] "(" 522 [email protected] "("
523 [email protected] 523 [email protected]
524 BIN[email protected] 524 IDENT[email protected]
525 [email protected] 525 [email protected]
526 [email protected] "socket" 526 [email protected] "socket"
527 [email protected] ":" 527 [email protected] ":"
@@ -535,7 +535,7 @@ [email protected]
535 [email protected] "," 535 [email protected] ","
536 [email protected] " " 536 [email protected] " "
537 [email protected] 537 [email protected]
538 BIN[email protected] 538 IDENT[email protected]
539 [email protected] 539 [email protected]
540 [email protected] "address" 540 [email protected] "address"
541 [email protected] ":" 541 [email protected] ":"
@@ -552,7 +552,7 @@ [email protected]
552 [email protected] "," 552 [email protected] ","
553 [email protected] "\n " 553 [email protected] "\n "
554 [email protected] 554 [email protected]
555 BIN[email protected] 555 IDENT[email protected]
556 [email protected] 556 [email protected]
557 [email protected] "address_len" 557 [email protected] "address_len"
558 [email protected] ":" 558 [email protected] ":"
@@ -590,7 +590,7 @@ [email protected]
590 [email protected] 590 [email protected]
591 [email protected] "(" 591 [email protected] "("
592 [email protected] 592 [email protected]
593 BIN[email protected] 593 IDENT[email protected]
594 [email protected] 594 [email protected]
595 [email protected] "socket" 595 [email protected] "socket"
596 [email protected] ":" 596 [email protected] ":"
@@ -604,7 +604,7 @@ [email protected]
604 [email protected] "," 604 [email protected] ","
605 [email protected] " " 605 [email protected] " "
606 [email protected] 606 [email protected]
607 BIN[email protected] 607 IDENT[email protected]
608 [email protected] 608 [email protected]
609 [email protected] "buf" 609 [email protected] "buf"
610 [email protected] ":" 610 [email protected] ":"
@@ -622,7 +622,7 @@ [email protected]
622 [email protected] "," 622 [email protected] ","
623 [email protected] " " 623 [email protected] " "
624 [email protected] 624 [email protected]
625 BIN[email protected] 625 IDENT[email protected]
626 [email protected] 626 [email protected]
627 [email protected] "len" 627 [email protected] "len"
628 [email protected] ":" 628 [email protected] ":"
@@ -636,7 +636,7 @@ [email protected]
636 [email protected] "," 636 [email protected] ","
637 [email protected] "\n " 637 [email protected] "\n "
638 [email protected] 638 [email protected]
639 BIN[email protected] 639 IDENT[email protected]
640 [email protected] 640 [email protected]
641 [email protected] "flags" 641 [email protected] "flags"
642 [email protected] ":" 642 [email protected] ":"
@@ -650,7 +650,7 @@ [email protected]
650 [email protected] "," 650 [email protected] ","
651 [email protected] " " 651 [email protected] " "
652 [email protected] 652 [email protected]
653 BIN[email protected] 653 IDENT[email protected]
654 [email protected] 654 [email protected]
655 [email protected] "addr" 655 [email protected] "addr"
656 [email protected] ":" 656 [email protected] ":"
@@ -667,7 +667,7 @@ [email protected]
667 [email protected] "," 667 [email protected] ","
668 [email protected] "\n " 668 [email protected] "\n "
669 [email protected] 669 [email protected]
670 BIN[email protected] 670 IDENT[email protected]
671 [email protected] 671 [email protected]
672 [email protected] "addrlen" 672 [email protected] "addrlen"
673 [email protected] ":" 673 [email protected] ":"
@@ -701,7 +701,7 @@ [email protected]
701 [email protected] 701 [email protected]
702 [email protected] "(" 702 [email protected] "("
703 [email protected] 703 [email protected]
704 BIN[email protected] 704 IDENT[email protected]
705 [email protected] 705 [email protected]
706 [email protected] "socket" 706 [email protected] "socket"
707 [email protected] ":" 707 [email protected] ":"
@@ -715,7 +715,7 @@ [email protected]
715 [email protected] "," 715 [email protected] ","
716 [email protected] " " 716 [email protected] " "
717 [email protected] 717 [email protected]
718 BIN[email protected] 718 IDENT[email protected]
719 [email protected] 719 [email protected]
720 [email protected] "buf" 720 [email protected] "buf"
721 [email protected] ":" 721 [email protected] ":"
@@ -733,7 +733,7 @@ [email protected]
733 [email protected] "," 733 [email protected] ","
734 [email protected] " " 734 [email protected] " "
735 [email protected] 735 [email protected]
736 BIN[email protected] 736 IDENT[email protected]
737 [email protected] 737 [email protected]
738 [email protected] "len" 738 [email protected] "len"
739 [email protected] ":" 739 [email protected] ":"
@@ -747,7 +747,7 @@ [email protected]
747 [email protected] "," 747 [email protected] ","
748 [email protected] "\n " 748 [email protected] "\n "
749 [email protected] 749 [email protected]
750 BIN[email protected] 750 IDENT[email protected]
751 [email protected] 751 [email protected]
752 [email protected] "flags" 752 [email protected] "flags"
753 [email protected] ":" 753 [email protected] ":"
@@ -782,7 +782,7 @@ [email protected]
782 [email protected] 782 [email protected]
783 [email protected] "(" 783 [email protected] "("
784 [email protected] 784 [email protected]
785 BIN[email protected] 785 IDENT[email protected]
786 [email protected] 786 [email protected]
787 [email protected] "socket" 787 [email protected] "socket"
788 [email protected] ":" 788 [email protected] ":"
@@ -796,7 +796,7 @@ [email protected]
796 [email protected] "," 796 [email protected] ","
797 [email protected] " " 797 [email protected] " "
798 [email protected] 798 [email protected]
799 BIN[email protected] 799 IDENT[email protected]
800 [email protected] 800 [email protected]
801 [email protected] "buf" 801 [email protected] "buf"
802 [email protected] ":" 802 [email protected] ":"
@@ -814,7 +814,7 @@ [email protected]
814 [email protected] "," 814 [email protected] ","
815 [email protected] " " 815 [email protected] " "
816 [email protected] 816 [email protected]
817 BIN[email protected] 817 IDENT[email protected]
818 [email protected] 818 [email protected]
819 [email protected] "len" 819 [email protected] "len"
820 [email protected] ":" 820 [email protected] ":"
@@ -828,7 +828,7 @@ [email protected]
828 [email protected] "," 828 [email protected] ","
829 [email protected] "\n " 829 [email protected] "\n "
830 [email protected] 830 [email protected]
831 BIN[email protected] 831 IDENT[email protected]
832 [email protected] 832 [email protected]
833 [email protected] "flags" 833 [email protected] "flags"
834 [email protected] ":" 834 [email protected] ":"
@@ -842,7 +842,7 @@ [email protected]
842 [email protected] "," 842 [email protected] ","
843 [email protected] " " 843 [email protected] " "
844 [email protected] 844 [email protected]
845 BIN[email protected] 845 IDENT[email protected]
846 [email protected] 846 [email protected]
847 [email protected] "addr" 847 [email protected] "addr"
848 [email protected] ":" 848 [email protected] ":"
@@ -860,7 +860,7 @@ [email protected]
860 [email protected] "," 860 [email protected] ","
861 [email protected] "\n " 861 [email protected] "\n "
862 [email protected] 862 [email protected]
863 BIN[email protected] 863 IDENT[email protected]
864 [email protected] 864 [email protected]
865 [email protected] "addrlen" 865 [email protected] "addrlen"
866 [email protected] ":" 866 [email protected] ":"
@@ -899,7 +899,7 @@ [email protected]
899 [email protected] 899 [email protected]
900 [email protected] "(" 900 [email protected] "("
901 [email protected] 901 [email protected]
902 BIN[email protected] 902 IDENT[email protected]
903 [email protected] 903 [email protected]
904 [email protected] "socket" 904 [email protected] "socket"
905 [email protected] ":" 905 [email protected] ":"
@@ -913,7 +913,7 @@ [email protected]
913 [email protected] "," 913 [email protected] ","
914 [email protected] " " 914 [email protected] " "
915 [email protected] 915 [email protected]
916 BIN[email protected] 916 IDENT[email protected]
917 [email protected] 917 [email protected]
918 [email protected] "buf" 918 [email protected] "buf"
919 [email protected] ":" 919 [email protected] ":"
@@ -931,7 +931,7 @@ [email protected]
931 [email protected] "," 931 [email protected] ","
932 [email protected] " " 932 [email protected] " "
933 [email protected] 933 [email protected]
934 BIN[email protected] 934 IDENT[email protected]
935 [email protected] 935 [email protected]
936 [email protected] "len" 936 [email protected] "len"
937 [email protected] ":" 937 [email protected] ":"
@@ -945,7 +945,7 @@ [email protected]
945 [email protected] "," 945 [email protected] ","
946 [email protected] "\n " 946 [email protected] "\n "
947 [email protected] 947 [email protected]
948 BIN[email protected] 948 IDENT[email protected]
949 [email protected] 949 [email protected]
950 [email protected] "flags" 950 [email protected] "flags"
951 [email protected] ":" 951 [email protected] ":"
diff --git a/crates/ra_syntax/test_data/parser/ok/0033_label_break.rast b/crates/ra_syntax/test_data/parser/ok/0033_label_break.rast
index b3f29638c..88800ca7a 100644
--- a/crates/ra_syntax/test_data/parser/ok/0033_label_break.rast
+++ b/crates/ra_syntax/test_data/parser/ok/0033_label_break.rast
@@ -127,7 +127,7 @@ [email protected]
127 [email protected] 127 [email protected]
128 [email protected] "let" 128 [email protected] "let"
129 [email protected] " " 129 [email protected] " "
130 BIN[email protected] 130 IDENT[email protected]
131 [email protected] 131 [email protected]
132 [email protected] "result" 132 [email protected] "result"
133 [email protected] " " 133 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.rast b/crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.rast
index d48f638cd..ac9c1fa79 100644
--- a/crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.rast
+++ b/crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.rast
@@ -144,7 +144,7 @@ [email protected]
144 [email protected] 144 [email protected]
145 [email protected] "let" 145 [email protected] "let"
146 [email protected] " " 146 [email protected] " "
147 BIN[email protected] 147 IDENT[email protected]
148 [email protected] 148 [email protected]
149 [email protected] "_x" 149 [email protected] "_x"
150 [email protected] ":" 150 [email protected] ":"
@@ -186,7 +186,7 @@ [email protected]
186 [email protected] 186 [email protected]
187 [email protected] "(" 187 [email protected] "("
188 [email protected] 188 [email protected]
189 BIN[email protected] 189 IDENT[email protected]
190 [email protected] 190 [email protected]
191 [email protected] "_x" 191 [email protected] "_x"
192 [email protected] ":" 192 [email protected] ":"
@@ -237,7 +237,7 @@ [email protected]
237 [email protected] 237 [email protected]
238 [email protected] "(" 238 [email protected] "("
239 [email protected] 239 [email protected]
240 BIN[email protected] 240 IDENT[email protected]
241 [email protected] 241 [email protected]
242 [email protected] "x" 242 [email protected] "x"
243 [email protected] ":" 243 [email protected] ":"
@@ -314,7 +314,7 @@ [email protected]
314 [email protected] 314 [email protected]
315 [email protected] "let" 315 [email protected] "let"
316 [email protected] " " 316 [email protected] " "
317 BIN[email protected] 317 IDENT[email protected]
318 [email protected] 318 [email protected]
319 [email protected] "i" 319 [email protected] "i"
320 [email protected] " " 320 [email protected] " "
@@ -343,7 +343,7 @@ [email protected]
343 [email protected] 343 [email protected]
344 [email protected] "let" 344 [email protected] "let"
345 [email protected] " " 345 [email protected] " "
346 BIN[email protected] 346 IDENT[email protected]
347 [email protected] 347 [email protected]
348 [email protected] "dont" 348 [email protected] "dont"
349 [email protected] " " 349 [email protected] " "
@@ -587,7 +587,7 @@ [email protected]
587 [email protected] 587 [email protected]
588 [email protected] "let" 588 [email protected] "let"
589 [email protected] " " 589 [email protected] " "
590 BIN[email protected] 590 IDENT[email protected]
591 [email protected] "mut" 591 [email protected] "mut"
592 [email protected] " " 592 [email protected] " "
593 [email protected] 593 [email protected]
@@ -604,7 +604,7 @@ [email protected]
604 [email protected] 604 [email protected]
605 [email protected] "let" 605 [email protected] "let"
606 [email protected] " " 606 [email protected] " "
607 BIN[email protected] 607 IDENT[email protected]
608 [email protected] "mut" 608 [email protected] "mut"
609 [email protected] " " 609 [email protected] " "
610 [email protected] 610 [email protected]
@@ -649,7 +649,7 @@ [email protected]
649 [email protected] 649 [email protected]
650 [email protected] "let" 650 [email protected] "let"
651 [email protected] " " 651 [email protected] " "
652 BIN[email protected] 652 IDENT[email protected]
653 [email protected] "mut" 653 [email protected] "mut"
654 [email protected] " " 654 [email protected] " "
655 [email protected] 655 [email protected]
@@ -694,7 +694,7 @@ [email protected]
694 [email protected] 694 [email protected]
695 [email protected] "let" 695 [email protected] "let"
696 [email protected] " " 696 [email protected] " "
697 BIN[email protected] 697 IDENT[email protected]
698 [email protected] 698 [email protected]
699 [email protected] "_a" 699 [email protected] "_a"
700 [email protected] " " 700 [email protected] " "
@@ -737,7 +737,7 @@ [email protected]
737 [email protected] 737 [email protected]
738 [email protected] "let" 738 [email protected] "let"
739 [email protected] " " 739 [email protected] " "
740 BIN[email protected] 740 IDENT[email protected]
741 [email protected] 741 [email protected]
742 [email protected] "_b" 742 [email protected] "_b"
743 [email protected] " " 743 [email protected] " "
@@ -859,7 +859,7 @@ [email protected]
859 [email protected] 859 [email protected]
860 [email protected] "let" 860 [email protected] "let"
861 [email protected] " " 861 [email protected] " "
862 BIN[email protected] 862 IDENT[email protected]
863 [email protected] 863 [email protected]
864 [email protected] "_a" 864 [email protected] "_a"
865 [email protected] " " 865 [email protected] " "
@@ -906,7 +906,7 @@ [email protected]
906 [email protected] 906 [email protected]
907 [email protected] "let" 907 [email protected] "let"
908 [email protected] " " 908 [email protected] " "
909 BIN[email protected] 909 IDENT[email protected]
910 [email protected] 910 [email protected]
911 [email protected] "_c" 911 [email protected] "_c"
912 [email protected] " " 912 [email protected] " "
@@ -943,7 +943,7 @@ [email protected]
943 [email protected] 943 [email protected]
944 [email protected] "let" 944 [email protected] "let"
945 [email protected] " " 945 [email protected] " "
946 BIN[email protected] 946 IDENT[email protected]
947 [email protected] 947 [email protected]
948 [email protected] "_b" 948 [email protected] "_b"
949 [email protected] ":" 949 [email protected] ":"
@@ -1024,7 +1024,7 @@ [email protected]
1024 [email protected] 1024 [email protected]
1025 [email protected] "let" 1025 [email protected] "let"
1026 [email protected] " " 1026 [email protected] " "
1027 BIN[email protected] 1027 IDENT[email protected]
1028 [email protected] "mut" 1028 [email protected] "mut"
1029 [email protected] " " 1029 [email protected] " "
1030 [email protected] 1030 [email protected]
@@ -1146,7 +1146,7 @@ [email protected]
1146 [email protected] 1146 [email protected]
1147 [email protected] "let" 1147 [email protected] "let"
1148 [email protected] " " 1148 [email protected] " "
1149 BIN[email protected] 1149 IDENT[email protected]
1150 [email protected] 1150 [email protected]
1151 [email protected] "_evil" 1151 [email protected] "_evil"
1152 [email protected] " " 1152 [email protected] " "
@@ -1292,7 +1292,7 @@ [email protected]
1292 [email protected] 1292 [email protected]
1293 [email protected] "(" 1293 [email protected] "("
1294 [email protected] 1294 [email protected]
1295 BIN[email protected] 1295 IDENT[email protected]
1296 [email protected] 1296 [email protected]
1297 [email protected] "u8" 1297 [email protected] "u8"
1298 [email protected] ":" 1298 [email protected] ":"
@@ -1614,7 +1614,7 @@ [email protected]
1614 [email protected] 1614 [email protected]
1615 [email protected] "let" 1615 [email protected] "let"
1616 [email protected] " " 1616 [email protected] " "
1617 BIN[email protected] 1617 IDENT[email protected]
1618 [email protected] 1618 [email protected]
1619 [email protected] "val" 1619 [email protected] "val"
1620 [email protected] " " 1620 [email protected] " "
@@ -1648,7 +1648,7 @@ [email protected]
1648 [email protected] ")" 1648 [email protected] ")"
1649 [email protected] "," 1649 [email protected] ","
1650 [email protected] 1650 [email protected]
1651 BIN[email protected] 1651 IDENT[email protected]
1652 [email protected] 1652 [email protected]
1653 [email protected] "__" 1653 [email protected] "__"
1654 [email protected] "@" 1654 [email protected] "@"
diff --git a/crates/ra_syntax/test_data/parser/ok/0041_raw_keywords.rast b/crates/ra_syntax/test_data/parser/ok/0041_raw_keywords.rast
index 92ede8ccb..4035aef6f 100644
--- a/crates/ra_syntax/test_data/parser/ok/0041_raw_keywords.rast
+++ b/crates/ra_syntax/test_data/parser/ok/0041_raw_keywords.rast
@@ -14,7 +14,7 @@ [email protected]
14 [email protected] 14 [email protected]
15 [email protected] "let" 15 [email protected] "let"
16 [email protected] " " 16 [email protected] " "
17 BIN[email protected] 17 IDENT[email protected]
18 [email protected] 18 [email protected]
19 [email protected] "r#struct" 19 [email protected] "r#struct"
20 [email protected] " " 20 [email protected] " "
@@ -27,7 +27,7 @@ [email protected]
27 [email protected] 27 [email protected]
28 [email protected] "let" 28 [email protected] "let"
29 [email protected] " " 29 [email protected] " "
30 BIN[email protected] 30 IDENT[email protected]
31 [email protected] 31 [email protected]
32 [email protected] "r#trait" 32 [email protected] "r#trait"
33 [email protected] " " 33 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/ok/0044_let_attrs.rast b/crates/ra_syntax/test_data/parser/ok/0044_let_attrs.rast
index 650f4e310..af44a4dbe 100644
--- a/crates/ra_syntax/test_data/parser/ok/0044_let_attrs.rast
+++ b/crates/ra_syntax/test_data/parser/ok/0044_let_attrs.rast
@@ -33,7 +33,7 @@ [email protected]
33 [email protected] "\n " 33 [email protected] "\n "
34 [email protected] "let" 34 [email protected] "let"
35 [email protected] " " 35 [email protected] " "
36 BIN[email protected] 36 IDENT[email protected]
37 [email protected] 37 [email protected]
38 [email protected] "exit_code" 38 [email protected] "exit_code"
39 [email protected] " " 39 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/ok/0045_block_inner_attrs.rast b/crates/ra_syntax/test_data/parser/ok/0045_block_inner_attrs.rast
index bd152ffa3..0ac56df6d 100644
--- a/crates/ra_syntax/test_data/parser/ok/0045_block_inner_attrs.rast
+++ b/crates/ra_syntax/test_data/parser/ok/0045_block_inner_attrs.rast
@@ -114,7 +114,7 @@ [email protected]
114 [email protected] "," 114 [email protected] ","
115 [email protected] " " 115 [email protected] " "
116 [email protected] 116 [email protected]
117 BIN[email protected] 117 IDENT[email protected]
118 [email protected] 118 [email protected]
119 [email protected] "event_fn" 119 [email protected] "event_fn"
120 [email protected] ":" 120 [email protected] ":"
diff --git a/crates/ra_syntax/test_data/parser/ok/0048_compound_assignment.rast b/crates/ra_syntax/test_data/parser/ok/0048_compound_assignment.rast
index 662576e5f..eaab47843 100644
--- a/crates/ra_syntax/test_data/parser/ok/0048_compound_assignment.rast
+++ b/crates/ra_syntax/test_data/parser/ok/0048_compound_assignment.rast
@@ -16,7 +16,7 @@ [email protected]
16 [email protected] 16 [email protected]
17 [email protected] "let" 17 [email protected] "let"
18 [email protected] " " 18 [email protected] " "
19 BIN[email protected] 19 IDENT[email protected]
20 [email protected] "mut" 20 [email protected] "mut"
21 [email protected] " " 21 [email protected] " "
22 [email protected] 22 [email protected]
diff --git a/crates/ra_syntax/test_data/parser/ok/0050_async_block_as_argument.rast b/crates/ra_syntax/test_data/parser/ok/0050_async_block_as_argument.rast
index 48e1f07d1..c7ce12e93 100644
--- a/crates/ra_syntax/test_data/parser/ok/0050_async_block_as_argument.rast
+++ b/crates/ra_syntax/test_data/parser/ok/0050_async_block_as_argument.rast
@@ -7,7 +7,7 @@ [email protected]
7 [email protected] 7 [email protected]
8 [email protected] "(" 8 [email protected] "("
9 [email protected] 9 [email protected]
10 BIN[email protected] 10 IDENT[email protected]
11 [email protected] 11 [email protected]
12 [email protected] "x" 12 [email protected] "x"
13 [email protected] ":" 13 [email protected] ":"
diff --git a/crates/ra_syntax/test_data/parser/ok/0051_parameter_attrs.rast b/crates/ra_syntax/test_data/parser/ok/0051_parameter_attrs.rast
index a80a6cd7a..0303b198f 100644
--- a/crates/ra_syntax/test_data/parser/ok/0051_parameter_attrs.rast
+++ b/crates/ra_syntax/test_data/parser/ok/0051_parameter_attrs.rast
@@ -25,7 +25,7 @@ [email protected]
25 [email protected] "]" 25 [email protected] "]"
26 [email protected] " " 26 [email protected] " "
27 [email protected] 27 [email protected]
28 BIN[email protected] 28 IDENT[email protected]
29 [email protected] 29 [email protected]
30 [email protected] "pat" 30 [email protected] "pat"
31 [email protected] ":" 31 [email protected] ":"
@@ -58,7 +58,7 @@ [email protected]
58 [email protected] "]" 58 [email protected] "]"
59 [email protected] " " 59 [email protected] " "
60 [email protected] 60 [email protected]
61 BIN[email protected] 61 IDENT[email protected]
62 [email protected] 62 [email protected]
63 [email protected] "x" 63 [email protected] "x"
64 [email protected] ":" 64 [email protected] ":"
@@ -91,7 +91,7 @@ [email protected]
91 [email protected] 91 [email protected]
92 [email protected] "(" 92 [email protected] "("
93 [email protected] 93 [email protected]
94 BIN[email protected] 94 IDENT[email protected]
95 [email protected] 95 [email protected]
96 [email protected] "format" 96 [email protected] "format"
97 [email protected] ":" 97 [email protected] ":"
@@ -234,7 +234,7 @@ [email protected]
234 [email protected] "]" 234 [email protected] "]"
235 [email protected] " " 235 [email protected] " "
236 [email protected] 236 [email protected]
237 BIN[email protected] 237 IDENT[email protected]
238 [email protected] "mut" 238 [email protected] "mut"
239 [email protected] " " 239 [email protected] " "
240 [email protected] 240 [email protected]
diff --git a/crates/ra_syntax/test_data/parser/ok/0052_for_range_block.rast b/crates/ra_syntax/test_data/parser/ok/0052_for_range_block.rast
index fd4f4f242..350823ba3 100644
--- a/crates/ra_syntax/test_data/parser/ok/0052_for_range_block.rast
+++ b/crates/ra_syntax/test_data/parser/ok/0052_for_range_block.rast
@@ -14,7 +14,7 @@ [email protected]
14 [email protected] 14 [email protected]
15 [email protected] "for" 15 [email protected] "for"
16 [email protected] " " 16 [email protected] " "
17 BIN[email protected] 17 IDENT[email protected]
18 [email protected] 18 [email protected]
19 [email protected] "_x" 19 [email protected] "_x"
20 [email protected] " " 20 [email protected] " "
diff --git a/crates/ra_syntax/test_data/parser/ok/0057_loop_in_call.rast b/crates/ra_syntax/test_data/parser/ok/0057_loop_in_call.rast
index 53410a1ee..76301004a 100644
--- a/crates/ra_syntax/test_data/parser/ok/0057_loop_in_call.rast
+++ b/crates/ra_syntax/test_data/parser/ok/0057_loop_in_call.rast
@@ -7,7 +7,7 @@ [email protected]
7 [email protected] 7 [email protected]
8 [email protected] "(" 8 [email protected] "("
9 [email protected] 9 [email protected]
10 BIN[email protected] 10 IDENT[email protected]
11 [email protected] 11 [email protected]
12 [email protected] "x" 12 [email protected] "x"
13 [email protected] ":" 13 [email protected] ":"
diff --git a/crates/ra_syntax/test_data/parser/ok/0063_trait_fn_patterns.rast b/crates/ra_syntax/test_data/parser/ok/0063_trait_fn_patterns.rast
index 9d88e4cbf..42680b283 100644
--- a/crates/ra_syntax/test_data/parser/ok/0063_trait_fn_patterns.rast
+++ b/crates/ra_syntax/test_data/parser/ok/0063_trait_fn_patterns.rast
@@ -18,12 +18,12 @@ [email protected]
18 [email protected] 18 [email protected]
19 [email protected] 19 [email protected]
20 [email protected] "(" 20 [email protected] "("
21 BIN[email protected] 21 IDENT[email protected]
22 [email protected] 22 [email protected]
23 [email protected] "a" 23 [email protected] "a"
24 [email protected] "," 24 [email protected] ","
25 [email protected] " " 25 [email protected] " "
26 BIN[email protected] 26 IDENT[email protected]
27 [email protected] 27 [email protected]
28 [email protected] "b" 28 [email protected] "b"
29 [email protected] ")" 29 [email protected] ")"
@@ -68,13 +68,13 @@ [email protected]
68 [email protected] "{" 68 [email protected] "{"
69 [email protected] " " 69 [email protected] " "
70 [email protected] 70 [email protected]
71 BIN[email protected] 71 IDENT[email protected]
72 [email protected] 72 [email protected]
73 [email protected] "a" 73 [email protected] "a"
74 [email protected] "," 74 [email protected] ","
75 [email protected] " " 75 [email protected] " "
76 [email protected] 76 [email protected]
77 BIN[email protected] 77 IDENT[email protected]
78 [email protected] 78 [email protected]
79 [email protected] "b" 79 [email protected] "b"
80 [email protected] " " 80 [email protected] " "
@@ -106,7 +106,7 @@ [email protected]
106 [email protected] 106 [email protected]
107 [email protected] "NewType" 107 [email protected] "NewType"
108 [email protected] "(" 108 [email protected] "("
109 BIN[email protected] 109 IDENT[email protected]
110 [email protected] 110 [email protected]
111 [email protected] "a" 111 [email protected] "a"
112 [email protected] ")" 112 [email protected] ")"
@@ -135,7 +135,7 @@ [email protected]
135 [email protected] "&" 135 [email protected] "&"
136 [email protected] 136 [email protected]
137 [email protected] "&" 137 [email protected] "&"
138 BIN[email protected] 138 IDENT[email protected]
139 [email protected] 139 [email protected]
140 [email protected] "a" 140 [email protected] "a"
141 [email protected] ":" 141 [email protected] ":"
@@ -175,7 +175,7 @@ [email protected]
175 [email protected] "," 175 [email protected] ","
176 [email protected] " " 176 [email protected] " "
177 [email protected] 177 [email protected]
178 BIN[email protected] 178 IDENT[email protected]
179 [email protected] "mut" 179 [email protected] "mut"
180 [email protected] " " 180 [email protected] " "
181 [email protected] 181 [email protected]
diff --git a/crates/ra_syntax/test_data/parser/ok/0063_variadic_fun.rast b/crates/ra_syntax/test_data/parser/ok/0063_variadic_fun.rast
index d8bf1f8c8..a132591f0 100644
--- a/crates/ra_syntax/test_data/parser/ok/0063_variadic_fun.rast
+++ b/crates/ra_syntax/test_data/parser/ok/0063_variadic_fun.rast
@@ -108,17 +108,17 @@ [email protected]
108 [email protected] 108 [email protected]
109 [email protected] 109 [email protected]
110 [email protected] "[" 110 [email protected] "["
111 BIN[email protected] 111 IDENT[email protected]
112 [email protected] 112 [email protected]
113 [email protected] "w" 113 [email protected] "w"
114 [email protected] "," 114 [email protected] ","
115 [email protected] " " 115 [email protected] " "
116 BIN[email protected] 116 IDENT[email protected]
117 [email protected] 117 [email protected]
118 [email protected] "t" 118 [email protected] "t"
119 [email protected] "," 119 [email protected] ","
120 [email protected] " " 120 [email protected] " "
121 BIN[email protected] 121 IDENT[email protected]
122 [email protected] 122 [email protected]
123 [email protected] "f" 123 [email protected] "f"
124 [email protected] "]" 124 [email protected] "]"
diff --git a/crates/ra_syntax/test_data/parser/ok/0064_impl_fn_params.rast b/crates/ra_syntax/test_data/parser/ok/0064_impl_fn_params.rast
index 087053f25..94260db7c 100644
--- a/crates/ra_syntax/test_data/parser/ok/0064_impl_fn_params.rast
+++ b/crates/ra_syntax/test_data/parser/ok/0064_impl_fn_params.rast
@@ -21,12 +21,12 @@ [email protected]
21 [email protected] 21 [email protected]
22 [email protected] 22 [email protected]
23 [email protected] "(" 23 [email protected] "("
24 BIN[email protected] 24 IDENT[email protected]
25 [email protected] 25 [email protected]
26 [email protected] "a" 26 [email protected] "a"
27 [email protected] "," 27 [email protected] ","
28 [email protected] " " 28 [email protected] " "
29 BIN[email protected] 29 IDENT[email protected]
30 [email protected] 30 [email protected]
31 [email protected] "b" 31 [email protected] "b"
32 [email protected] ")" 32 [email protected] ")"
@@ -71,13 +71,13 @@ [email protected]
71 [email protected] "{" 71 [email protected] "{"
72 [email protected] " " 72 [email protected] " "
73 [email protected] 73 [email protected]
74 BIN[email protected] 74 IDENT[email protected]
75 [email protected] 75 [email protected]
76 [email protected] "a" 76 [email protected] "a"
77 [email protected] "," 77 [email protected] ","
78 [email protected] " " 78 [email protected] " "
79 [email protected] 79 [email protected]
80 BIN[email protected] 80 IDENT[email protected]
81 [email protected] 81 [email protected]
82 [email protected] "b" 82 [email protected] "b"
83 [email protected] " " 83 [email protected] " "
@@ -109,7 +109,7 @@ [email protected]
109 [email protected] 109 [email protected]
110 [email protected] "NewType" 110 [email protected] "NewType"
111 [email protected] "(" 111 [email protected] "("
112 BIN[email protected] 112 IDENT[email protected]
113 [email protected] 113 [email protected]
114 [email protected] "a" 114 [email protected] "a"
115 [email protected] ")" 115 [email protected] ")"
@@ -138,7 +138,7 @@ [email protected]
138 [email protected] "&" 138 [email protected] "&"
139 [email protected] 139 [email protected]
140 [email protected] "&" 140 [email protected] "&"
141 BIN[email protected] 141 IDENT[email protected]
142 [email protected] 142 [email protected]
143 [email protected] "a" 143 [email protected] "a"
144 [email protected] ":" 144 [email protected] ":"
diff --git a/crates/ra_syntax/test_data/parser/ok/0067_where_for_pred.rast b/crates/ra_syntax/test_data/parser/ok/0067_where_for_pred.rast
index a368ac1e8..fae9467fc 100644
--- a/crates/ra_syntax/test_data/parser/ok/0067_where_for_pred.rast
+++ b/crates/ra_syntax/test_data/parser/ok/0067_where_for_pred.rast
@@ -245,7 +245,7 @@ [email protected]
245 [email protected] 245 [email protected]
246 [email protected] "(" 246 [email protected] "("
247 [email protected] 247 [email protected]
248 BIN[email protected] 248 IDENT[email protected]
249 [email protected] 249 [email protected]
250 [email protected] "_t" 250 [email protected] "_t"
251 [email protected] ":" 251 [email protected] ":"