diff options
Diffstat (limited to 'crates/ra_syntax/src/ast/generated.rs')
-rw-r--r-- | crates/ra_syntax/src/ast/generated.rs | 230 |
1 files changed, 115 insertions, 115 deletions
diff --git a/crates/ra_syntax/src/ast/generated.rs b/crates/ra_syntax/src/ast/generated.rs index 0376c91c8..774d9bcc8 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs | |||
@@ -13,7 +13,7 @@ use rowan::TransparentNewType; | |||
13 | 13 | ||
14 | use crate::{ | 14 | use crate::{ |
15 | SyntaxNode, SyntaxKind::*, | 15 | SyntaxNode, SyntaxKind::*, |
16 | syntax_node::{RaTypes, TreeArc}, | 16 | syntax_node::{TreeArc}, |
17 | ast::{self, AstNode}, | 17 | ast::{self, AstNode}, |
18 | }; | 18 | }; |
19 | 19 | ||
@@ -24,7 +24,7 @@ pub struct Alias { | |||
24 | pub(crate) syntax: SyntaxNode, | 24 | pub(crate) syntax: SyntaxNode, |
25 | } | 25 | } |
26 | unsafe impl TransparentNewType for Alias { | 26 | unsafe impl TransparentNewType for Alias { |
27 | type Repr = rowan::SyntaxNode<RaTypes>; | 27 | type Repr = rowan::SyntaxNode; |
28 | } | 28 | } |
29 | 29 | ||
30 | impl AstNode for Alias { | 30 | impl AstNode for Alias { |
@@ -53,7 +53,7 @@ pub struct ArgList { | |||
53 | pub(crate) syntax: SyntaxNode, | 53 | pub(crate) syntax: SyntaxNode, |
54 | } | 54 | } |
55 | unsafe impl TransparentNewType for ArgList { | 55 | unsafe impl TransparentNewType for ArgList { |
56 | type Repr = rowan::SyntaxNode<RaTypes>; | 56 | type Repr = rowan::SyntaxNode; |
57 | } | 57 | } |
58 | 58 | ||
59 | impl AstNode for ArgList { | 59 | impl AstNode for ArgList { |
@@ -85,7 +85,7 @@ pub struct ArrayExpr { | |||
85 | pub(crate) syntax: SyntaxNode, | 85 | pub(crate) syntax: SyntaxNode, |
86 | } | 86 | } |
87 | unsafe impl TransparentNewType for ArrayExpr { | 87 | unsafe impl TransparentNewType for ArrayExpr { |
88 | type Repr = rowan::SyntaxNode<RaTypes>; | 88 | type Repr = rowan::SyntaxNode; |
89 | } | 89 | } |
90 | 90 | ||
91 | impl AstNode for ArrayExpr { | 91 | impl AstNode for ArrayExpr { |
@@ -117,7 +117,7 @@ pub struct ArrayType { | |||
117 | pub(crate) syntax: SyntaxNode, | 117 | pub(crate) syntax: SyntaxNode, |
118 | } | 118 | } |
119 | unsafe impl TransparentNewType for ArrayType { | 119 | unsafe impl TransparentNewType for ArrayType { |
120 | type Repr = rowan::SyntaxNode<RaTypes>; | 120 | type Repr = rowan::SyntaxNode; |
121 | } | 121 | } |
122 | 122 | ||
123 | impl AstNode for ArrayType { | 123 | impl AstNode for ArrayType { |
@@ -153,7 +153,7 @@ pub struct AssocTypeArg { | |||
153 | pub(crate) syntax: SyntaxNode, | 153 | pub(crate) syntax: SyntaxNode, |
154 | } | 154 | } |
155 | unsafe impl TransparentNewType for AssocTypeArg { | 155 | unsafe impl TransparentNewType for AssocTypeArg { |
156 | type Repr = rowan::SyntaxNode<RaTypes>; | 156 | type Repr = rowan::SyntaxNode; |
157 | } | 157 | } |
158 | 158 | ||
159 | impl AstNode for AssocTypeArg { | 159 | impl AstNode for AssocTypeArg { |
@@ -189,7 +189,7 @@ pub struct Attr { | |||
189 | pub(crate) syntax: SyntaxNode, | 189 | pub(crate) syntax: SyntaxNode, |
190 | } | 190 | } |
191 | unsafe impl TransparentNewType for Attr { | 191 | unsafe impl TransparentNewType for Attr { |
192 | type Repr = rowan::SyntaxNode<RaTypes>; | 192 | type Repr = rowan::SyntaxNode; |
193 | } | 193 | } |
194 | 194 | ||
195 | impl AstNode for Attr { | 195 | impl AstNode for Attr { |
@@ -221,7 +221,7 @@ pub struct BinExpr { | |||
221 | pub(crate) syntax: SyntaxNode, | 221 | pub(crate) syntax: SyntaxNode, |
222 | } | 222 | } |
223 | unsafe impl TransparentNewType for BinExpr { | 223 | unsafe impl TransparentNewType for BinExpr { |
224 | type Repr = rowan::SyntaxNode<RaTypes>; | 224 | type Repr = rowan::SyntaxNode; |
225 | } | 225 | } |
226 | 226 | ||
227 | impl AstNode for BinExpr { | 227 | impl AstNode for BinExpr { |
@@ -249,7 +249,7 @@ pub struct BindPat { | |||
249 | pub(crate) syntax: SyntaxNode, | 249 | pub(crate) syntax: SyntaxNode, |
250 | } | 250 | } |
251 | unsafe impl TransparentNewType for BindPat { | 251 | unsafe impl TransparentNewType for BindPat { |
252 | type Repr = rowan::SyntaxNode<RaTypes>; | 252 | type Repr = rowan::SyntaxNode; |
253 | } | 253 | } |
254 | 254 | ||
255 | impl AstNode for BindPat { | 255 | impl AstNode for BindPat { |
@@ -282,7 +282,7 @@ pub struct Block { | |||
282 | pub(crate) syntax: SyntaxNode, | 282 | pub(crate) syntax: SyntaxNode, |
283 | } | 283 | } |
284 | unsafe impl TransparentNewType for Block { | 284 | unsafe impl TransparentNewType for Block { |
285 | type Repr = rowan::SyntaxNode<RaTypes>; | 285 | type Repr = rowan::SyntaxNode; |
286 | } | 286 | } |
287 | 287 | ||
288 | impl AstNode for Block { | 288 | impl AstNode for Block { |
@@ -319,7 +319,7 @@ pub struct BlockExpr { | |||
319 | pub(crate) syntax: SyntaxNode, | 319 | pub(crate) syntax: SyntaxNode, |
320 | } | 320 | } |
321 | unsafe impl TransparentNewType for BlockExpr { | 321 | unsafe impl TransparentNewType for BlockExpr { |
322 | type Repr = rowan::SyntaxNode<RaTypes>; | 322 | type Repr = rowan::SyntaxNode; |
323 | } | 323 | } |
324 | 324 | ||
325 | impl AstNode for BlockExpr { | 325 | impl AstNode for BlockExpr { |
@@ -351,7 +351,7 @@ pub struct BreakExpr { | |||
351 | pub(crate) syntax: SyntaxNode, | 351 | pub(crate) syntax: SyntaxNode, |
352 | } | 352 | } |
353 | unsafe impl TransparentNewType for BreakExpr { | 353 | unsafe impl TransparentNewType for BreakExpr { |
354 | type Repr = rowan::SyntaxNode<RaTypes>; | 354 | type Repr = rowan::SyntaxNode; |
355 | } | 355 | } |
356 | 356 | ||
357 | impl AstNode for BreakExpr { | 357 | impl AstNode for BreakExpr { |
@@ -383,7 +383,7 @@ pub struct CallExpr { | |||
383 | pub(crate) syntax: SyntaxNode, | 383 | pub(crate) syntax: SyntaxNode, |
384 | } | 384 | } |
385 | unsafe impl TransparentNewType for CallExpr { | 385 | unsafe impl TransparentNewType for CallExpr { |
386 | type Repr = rowan::SyntaxNode<RaTypes>; | 386 | type Repr = rowan::SyntaxNode; |
387 | } | 387 | } |
388 | 388 | ||
389 | impl AstNode for CallExpr { | 389 | impl AstNode for CallExpr { |
@@ -416,7 +416,7 @@ pub struct CastExpr { | |||
416 | pub(crate) syntax: SyntaxNode, | 416 | pub(crate) syntax: SyntaxNode, |
417 | } | 417 | } |
418 | unsafe impl TransparentNewType for CastExpr { | 418 | unsafe impl TransparentNewType for CastExpr { |
419 | type Repr = rowan::SyntaxNode<RaTypes>; | 419 | type Repr = rowan::SyntaxNode; |
420 | } | 420 | } |
421 | 421 | ||
422 | impl AstNode for CastExpr { | 422 | impl AstNode for CastExpr { |
@@ -452,7 +452,7 @@ pub struct Condition { | |||
452 | pub(crate) syntax: SyntaxNode, | 452 | pub(crate) syntax: SyntaxNode, |
453 | } | 453 | } |
454 | unsafe impl TransparentNewType for Condition { | 454 | unsafe impl TransparentNewType for Condition { |
455 | type Repr = rowan::SyntaxNode<RaTypes>; | 455 | type Repr = rowan::SyntaxNode; |
456 | } | 456 | } |
457 | 457 | ||
458 | impl AstNode for Condition { | 458 | impl AstNode for Condition { |
@@ -488,7 +488,7 @@ pub struct ConstDef { | |||
488 | pub(crate) syntax: SyntaxNode, | 488 | pub(crate) syntax: SyntaxNode, |
489 | } | 489 | } |
490 | unsafe impl TransparentNewType for ConstDef { | 490 | unsafe impl TransparentNewType for ConstDef { |
491 | type Repr = rowan::SyntaxNode<RaTypes>; | 491 | type Repr = rowan::SyntaxNode; |
492 | } | 492 | } |
493 | 493 | ||
494 | impl AstNode for ConstDef { | 494 | impl AstNode for ConstDef { |
@@ -526,7 +526,7 @@ pub struct ContinueExpr { | |||
526 | pub(crate) syntax: SyntaxNode, | 526 | pub(crate) syntax: SyntaxNode, |
527 | } | 527 | } |
528 | unsafe impl TransparentNewType for ContinueExpr { | 528 | unsafe impl TransparentNewType for ContinueExpr { |
529 | type Repr = rowan::SyntaxNode<RaTypes>; | 529 | type Repr = rowan::SyntaxNode; |
530 | } | 530 | } |
531 | 531 | ||
532 | impl AstNode for ContinueExpr { | 532 | impl AstNode for ContinueExpr { |
@@ -554,7 +554,7 @@ pub struct DynTraitType { | |||
554 | pub(crate) syntax: SyntaxNode, | 554 | pub(crate) syntax: SyntaxNode, |
555 | } | 555 | } |
556 | unsafe impl TransparentNewType for DynTraitType { | 556 | unsafe impl TransparentNewType for DynTraitType { |
557 | type Repr = rowan::SyntaxNode<RaTypes>; | 557 | type Repr = rowan::SyntaxNode; |
558 | } | 558 | } |
559 | 559 | ||
560 | impl AstNode for DynTraitType { | 560 | impl AstNode for DynTraitType { |
@@ -583,7 +583,7 @@ pub struct EnumDef { | |||
583 | pub(crate) syntax: SyntaxNode, | 583 | pub(crate) syntax: SyntaxNode, |
584 | } | 584 | } |
585 | unsafe impl TransparentNewType for EnumDef { | 585 | unsafe impl TransparentNewType for EnumDef { |
586 | type Repr = rowan::SyntaxNode<RaTypes>; | 586 | type Repr = rowan::SyntaxNode; |
587 | } | 587 | } |
588 | 588 | ||
589 | impl AstNode for EnumDef { | 589 | impl AstNode for EnumDef { |
@@ -620,7 +620,7 @@ pub struct EnumVariant { | |||
620 | pub(crate) syntax: SyntaxNode, | 620 | pub(crate) syntax: SyntaxNode, |
621 | } | 621 | } |
622 | unsafe impl TransparentNewType for EnumVariant { | 622 | unsafe impl TransparentNewType for EnumVariant { |
623 | type Repr = rowan::SyntaxNode<RaTypes>; | 623 | type Repr = rowan::SyntaxNode; |
624 | } | 624 | } |
625 | 625 | ||
626 | impl AstNode for EnumVariant { | 626 | impl AstNode for EnumVariant { |
@@ -655,7 +655,7 @@ pub struct EnumVariantList { | |||
655 | pub(crate) syntax: SyntaxNode, | 655 | pub(crate) syntax: SyntaxNode, |
656 | } | 656 | } |
657 | unsafe impl TransparentNewType for EnumVariantList { | 657 | unsafe impl TransparentNewType for EnumVariantList { |
658 | type Repr = rowan::SyntaxNode<RaTypes>; | 658 | type Repr = rowan::SyntaxNode; |
659 | } | 659 | } |
660 | 660 | ||
661 | impl AstNode for EnumVariantList { | 661 | impl AstNode for EnumVariantList { |
@@ -687,7 +687,7 @@ pub struct Expr { | |||
687 | pub(crate) syntax: SyntaxNode, | 687 | pub(crate) syntax: SyntaxNode, |
688 | } | 688 | } |
689 | unsafe impl TransparentNewType for Expr { | 689 | unsafe impl TransparentNewType for Expr { |
690 | type Repr = rowan::SyntaxNode<RaTypes>; | 690 | type Repr = rowan::SyntaxNode; |
691 | } | 691 | } |
692 | 692 | ||
693 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] | 693 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] |
@@ -950,7 +950,7 @@ pub struct ExprStmt { | |||
950 | pub(crate) syntax: SyntaxNode, | 950 | pub(crate) syntax: SyntaxNode, |
951 | } | 951 | } |
952 | unsafe impl TransparentNewType for ExprStmt { | 952 | unsafe impl TransparentNewType for ExprStmt { |
953 | type Repr = rowan::SyntaxNode<RaTypes>; | 953 | type Repr = rowan::SyntaxNode; |
954 | } | 954 | } |
955 | 955 | ||
956 | impl AstNode for ExprStmt { | 956 | impl AstNode for ExprStmt { |
@@ -982,7 +982,7 @@ pub struct ExternCrateItem { | |||
982 | pub(crate) syntax: SyntaxNode, | 982 | pub(crate) syntax: SyntaxNode, |
983 | } | 983 | } |
984 | unsafe impl TransparentNewType for ExternCrateItem { | 984 | unsafe impl TransparentNewType for ExternCrateItem { |
985 | type Repr = rowan::SyntaxNode<RaTypes>; | 985 | type Repr = rowan::SyntaxNode; |
986 | } | 986 | } |
987 | 987 | ||
988 | impl AstNode for ExternCrateItem { | 988 | impl AstNode for ExternCrateItem { |
@@ -1018,7 +1018,7 @@ pub struct FieldExpr { | |||
1018 | pub(crate) syntax: SyntaxNode, | 1018 | pub(crate) syntax: SyntaxNode, |
1019 | } | 1019 | } |
1020 | unsafe impl TransparentNewType for FieldExpr { | 1020 | unsafe impl TransparentNewType for FieldExpr { |
1021 | type Repr = rowan::SyntaxNode<RaTypes>; | 1021 | type Repr = rowan::SyntaxNode; |
1022 | } | 1022 | } |
1023 | 1023 | ||
1024 | impl AstNode for FieldExpr { | 1024 | impl AstNode for FieldExpr { |
@@ -1054,7 +1054,7 @@ pub struct FieldPat { | |||
1054 | pub(crate) syntax: SyntaxNode, | 1054 | pub(crate) syntax: SyntaxNode, |
1055 | } | 1055 | } |
1056 | unsafe impl TransparentNewType for FieldPat { | 1056 | unsafe impl TransparentNewType for FieldPat { |
1057 | type Repr = rowan::SyntaxNode<RaTypes>; | 1057 | type Repr = rowan::SyntaxNode; |
1058 | } | 1058 | } |
1059 | 1059 | ||
1060 | impl AstNode for FieldPat { | 1060 | impl AstNode for FieldPat { |
@@ -1087,7 +1087,7 @@ pub struct FieldPatList { | |||
1087 | pub(crate) syntax: SyntaxNode, | 1087 | pub(crate) syntax: SyntaxNode, |
1088 | } | 1088 | } |
1089 | unsafe impl TransparentNewType for FieldPatList { | 1089 | unsafe impl TransparentNewType for FieldPatList { |
1090 | type Repr = rowan::SyntaxNode<RaTypes>; | 1090 | type Repr = rowan::SyntaxNode; |
1091 | } | 1091 | } |
1092 | 1092 | ||
1093 | impl AstNode for FieldPatList { | 1093 | impl AstNode for FieldPatList { |
@@ -1123,7 +1123,7 @@ pub struct FnDef { | |||
1123 | pub(crate) syntax: SyntaxNode, | 1123 | pub(crate) syntax: SyntaxNode, |
1124 | } | 1124 | } |
1125 | unsafe impl TransparentNewType for FnDef { | 1125 | unsafe impl TransparentNewType for FnDef { |
1126 | type Repr = rowan::SyntaxNode<RaTypes>; | 1126 | type Repr = rowan::SyntaxNode; |
1127 | } | 1127 | } |
1128 | 1128 | ||
1129 | impl AstNode for FnDef { | 1129 | impl AstNode for FnDef { |
@@ -1168,7 +1168,7 @@ pub struct FnPointerType { | |||
1168 | pub(crate) syntax: SyntaxNode, | 1168 | pub(crate) syntax: SyntaxNode, |
1169 | } | 1169 | } |
1170 | unsafe impl TransparentNewType for FnPointerType { | 1170 | unsafe impl TransparentNewType for FnPointerType { |
1171 | type Repr = rowan::SyntaxNode<RaTypes>; | 1171 | type Repr = rowan::SyntaxNode; |
1172 | } | 1172 | } |
1173 | 1173 | ||
1174 | impl AstNode for FnPointerType { | 1174 | impl AstNode for FnPointerType { |
@@ -1204,7 +1204,7 @@ pub struct ForExpr { | |||
1204 | pub(crate) syntax: SyntaxNode, | 1204 | pub(crate) syntax: SyntaxNode, |
1205 | } | 1205 | } |
1206 | unsafe impl TransparentNewType for ForExpr { | 1206 | unsafe impl TransparentNewType for ForExpr { |
1207 | type Repr = rowan::SyntaxNode<RaTypes>; | 1207 | type Repr = rowan::SyntaxNode; |
1208 | } | 1208 | } |
1209 | 1209 | ||
1210 | impl AstNode for ForExpr { | 1210 | impl AstNode for ForExpr { |
@@ -1241,7 +1241,7 @@ pub struct ForType { | |||
1241 | pub(crate) syntax: SyntaxNode, | 1241 | pub(crate) syntax: SyntaxNode, |
1242 | } | 1242 | } |
1243 | unsafe impl TransparentNewType for ForType { | 1243 | unsafe impl TransparentNewType for ForType { |
1244 | type Repr = rowan::SyntaxNode<RaTypes>; | 1244 | type Repr = rowan::SyntaxNode; |
1245 | } | 1245 | } |
1246 | 1246 | ||
1247 | impl AstNode for ForType { | 1247 | impl AstNode for ForType { |
@@ -1273,7 +1273,7 @@ pub struct IfExpr { | |||
1273 | pub(crate) syntax: SyntaxNode, | 1273 | pub(crate) syntax: SyntaxNode, |
1274 | } | 1274 | } |
1275 | unsafe impl TransparentNewType for IfExpr { | 1275 | unsafe impl TransparentNewType for IfExpr { |
1276 | type Repr = rowan::SyntaxNode<RaTypes>; | 1276 | type Repr = rowan::SyntaxNode; |
1277 | } | 1277 | } |
1278 | 1278 | ||
1279 | impl AstNode for IfExpr { | 1279 | impl AstNode for IfExpr { |
@@ -1305,7 +1305,7 @@ pub struct ImplBlock { | |||
1305 | pub(crate) syntax: SyntaxNode, | 1305 | pub(crate) syntax: SyntaxNode, |
1306 | } | 1306 | } |
1307 | unsafe impl TransparentNewType for ImplBlock { | 1307 | unsafe impl TransparentNewType for ImplBlock { |
1308 | type Repr = rowan::SyntaxNode<RaTypes>; | 1308 | type Repr = rowan::SyntaxNode; |
1309 | } | 1309 | } |
1310 | 1310 | ||
1311 | impl AstNode for ImplBlock { | 1311 | impl AstNode for ImplBlock { |
@@ -1338,7 +1338,7 @@ pub struct ImplItem { | |||
1338 | pub(crate) syntax: SyntaxNode, | 1338 | pub(crate) syntax: SyntaxNode, |
1339 | } | 1339 | } |
1340 | unsafe impl TransparentNewType for ImplItem { | 1340 | unsafe impl TransparentNewType for ImplItem { |
1341 | type Repr = rowan::SyntaxNode<RaTypes>; | 1341 | type Repr = rowan::SyntaxNode; |
1342 | } | 1342 | } |
1343 | 1343 | ||
1344 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] | 1344 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] |
@@ -1401,7 +1401,7 @@ pub struct ImplTraitType { | |||
1401 | pub(crate) syntax: SyntaxNode, | 1401 | pub(crate) syntax: SyntaxNode, |
1402 | } | 1402 | } |
1403 | unsafe impl TransparentNewType for ImplTraitType { | 1403 | unsafe impl TransparentNewType for ImplTraitType { |
1404 | type Repr = rowan::SyntaxNode<RaTypes>; | 1404 | type Repr = rowan::SyntaxNode; |
1405 | } | 1405 | } |
1406 | 1406 | ||
1407 | impl AstNode for ImplTraitType { | 1407 | impl AstNode for ImplTraitType { |
@@ -1430,7 +1430,7 @@ pub struct IndexExpr { | |||
1430 | pub(crate) syntax: SyntaxNode, | 1430 | pub(crate) syntax: SyntaxNode, |
1431 | } | 1431 | } |
1432 | unsafe impl TransparentNewType for IndexExpr { | 1432 | unsafe impl TransparentNewType for IndexExpr { |
1433 | type Repr = rowan::SyntaxNode<RaTypes>; | 1433 | type Repr = rowan::SyntaxNode; |
1434 | } | 1434 | } |
1435 | 1435 | ||
1436 | impl AstNode for IndexExpr { | 1436 | impl AstNode for IndexExpr { |
@@ -1458,7 +1458,7 @@ pub struct ItemList { | |||
1458 | pub(crate) syntax: SyntaxNode, | 1458 | pub(crate) syntax: SyntaxNode, |
1459 | } | 1459 | } |
1460 | unsafe impl TransparentNewType for ItemList { | 1460 | unsafe impl TransparentNewType for ItemList { |
1461 | type Repr = rowan::SyntaxNode<RaTypes>; | 1461 | type Repr = rowan::SyntaxNode; |
1462 | } | 1462 | } |
1463 | 1463 | ||
1464 | impl AstNode for ItemList { | 1464 | impl AstNode for ItemList { |
@@ -1492,7 +1492,7 @@ pub struct Label { | |||
1492 | pub(crate) syntax: SyntaxNode, | 1492 | pub(crate) syntax: SyntaxNode, |
1493 | } | 1493 | } |
1494 | unsafe impl TransparentNewType for Label { | 1494 | unsafe impl TransparentNewType for Label { |
1495 | type Repr = rowan::SyntaxNode<RaTypes>; | 1495 | type Repr = rowan::SyntaxNode; |
1496 | } | 1496 | } |
1497 | 1497 | ||
1498 | impl AstNode for Label { | 1498 | impl AstNode for Label { |
@@ -1520,7 +1520,7 @@ pub struct LambdaExpr { | |||
1520 | pub(crate) syntax: SyntaxNode, | 1520 | pub(crate) syntax: SyntaxNode, |
1521 | } | 1521 | } |
1522 | unsafe impl TransparentNewType for LambdaExpr { | 1522 | unsafe impl TransparentNewType for LambdaExpr { |
1523 | type Repr = rowan::SyntaxNode<RaTypes>; | 1523 | type Repr = rowan::SyntaxNode; |
1524 | } | 1524 | } |
1525 | 1525 | ||
1526 | impl AstNode for LambdaExpr { | 1526 | impl AstNode for LambdaExpr { |
@@ -1556,7 +1556,7 @@ pub struct LetStmt { | |||
1556 | pub(crate) syntax: SyntaxNode, | 1556 | pub(crate) syntax: SyntaxNode, |
1557 | } | 1557 | } |
1558 | unsafe impl TransparentNewType for LetStmt { | 1558 | unsafe impl TransparentNewType for LetStmt { |
1559 | type Repr = rowan::SyntaxNode<RaTypes>; | 1559 | type Repr = rowan::SyntaxNode; |
1560 | } | 1560 | } |
1561 | 1561 | ||
1562 | impl AstNode for LetStmt { | 1562 | impl AstNode for LetStmt { |
@@ -1593,7 +1593,7 @@ pub struct LifetimeArg { | |||
1593 | pub(crate) syntax: SyntaxNode, | 1593 | pub(crate) syntax: SyntaxNode, |
1594 | } | 1594 | } |
1595 | unsafe impl TransparentNewType for LifetimeArg { | 1595 | unsafe impl TransparentNewType for LifetimeArg { |
1596 | type Repr = rowan::SyntaxNode<RaTypes>; | 1596 | type Repr = rowan::SyntaxNode; |
1597 | } | 1597 | } |
1598 | 1598 | ||
1599 | impl AstNode for LifetimeArg { | 1599 | impl AstNode for LifetimeArg { |
@@ -1621,7 +1621,7 @@ pub struct LifetimeParam { | |||
1621 | pub(crate) syntax: SyntaxNode, | 1621 | pub(crate) syntax: SyntaxNode, |
1622 | } | 1622 | } |
1623 | unsafe impl TransparentNewType for LifetimeParam { | 1623 | unsafe impl TransparentNewType for LifetimeParam { |
1624 | type Repr = rowan::SyntaxNode<RaTypes>; | 1624 | type Repr = rowan::SyntaxNode; |
1625 | } | 1625 | } |
1626 | 1626 | ||
1627 | impl AstNode for LifetimeParam { | 1627 | impl AstNode for LifetimeParam { |
@@ -1650,7 +1650,7 @@ pub struct Literal { | |||
1650 | pub(crate) syntax: SyntaxNode, | 1650 | pub(crate) syntax: SyntaxNode, |
1651 | } | 1651 | } |
1652 | unsafe impl TransparentNewType for Literal { | 1652 | unsafe impl TransparentNewType for Literal { |
1653 | type Repr = rowan::SyntaxNode<RaTypes>; | 1653 | type Repr = rowan::SyntaxNode; |
1654 | } | 1654 | } |
1655 | 1655 | ||
1656 | impl AstNode for Literal { | 1656 | impl AstNode for Literal { |
@@ -1678,7 +1678,7 @@ pub struct LiteralPat { | |||
1678 | pub(crate) syntax: SyntaxNode, | 1678 | pub(crate) syntax: SyntaxNode, |
1679 | } | 1679 | } |
1680 | unsafe impl TransparentNewType for LiteralPat { | 1680 | unsafe impl TransparentNewType for LiteralPat { |
1681 | type Repr = rowan::SyntaxNode<RaTypes>; | 1681 | type Repr = rowan::SyntaxNode; |
1682 | } | 1682 | } |
1683 | 1683 | ||
1684 | impl AstNode for LiteralPat { | 1684 | impl AstNode for LiteralPat { |
@@ -1710,7 +1710,7 @@ pub struct LoopExpr { | |||
1710 | pub(crate) syntax: SyntaxNode, | 1710 | pub(crate) syntax: SyntaxNode, |
1711 | } | 1711 | } |
1712 | unsafe impl TransparentNewType for LoopExpr { | 1712 | unsafe impl TransparentNewType for LoopExpr { |
1713 | type Repr = rowan::SyntaxNode<RaTypes>; | 1713 | type Repr = rowan::SyntaxNode; |
1714 | } | 1714 | } |
1715 | 1715 | ||
1716 | impl AstNode for LoopExpr { | 1716 | impl AstNode for LoopExpr { |
@@ -1739,7 +1739,7 @@ pub struct MacroCall { | |||
1739 | pub(crate) syntax: SyntaxNode, | 1739 | pub(crate) syntax: SyntaxNode, |
1740 | } | 1740 | } |
1741 | unsafe impl TransparentNewType for MacroCall { | 1741 | unsafe impl TransparentNewType for MacroCall { |
1742 | type Repr = rowan::SyntaxNode<RaTypes>; | 1742 | type Repr = rowan::SyntaxNode; |
1743 | } | 1743 | } |
1744 | 1744 | ||
1745 | impl AstNode for MacroCall { | 1745 | impl AstNode for MacroCall { |
@@ -1777,7 +1777,7 @@ pub struct MatchArm { | |||
1777 | pub(crate) syntax: SyntaxNode, | 1777 | pub(crate) syntax: SyntaxNode, |
1778 | } | 1778 | } |
1779 | unsafe impl TransparentNewType for MatchArm { | 1779 | unsafe impl TransparentNewType for MatchArm { |
1780 | type Repr = rowan::SyntaxNode<RaTypes>; | 1780 | type Repr = rowan::SyntaxNode; |
1781 | } | 1781 | } |
1782 | 1782 | ||
1783 | impl AstNode for MatchArm { | 1783 | impl AstNode for MatchArm { |
@@ -1818,7 +1818,7 @@ pub struct MatchArmList { | |||
1818 | pub(crate) syntax: SyntaxNode, | 1818 | pub(crate) syntax: SyntaxNode, |
1819 | } | 1819 | } |
1820 | unsafe impl TransparentNewType for MatchArmList { | 1820 | unsafe impl TransparentNewType for MatchArmList { |
1821 | type Repr = rowan::SyntaxNode<RaTypes>; | 1821 | type Repr = rowan::SyntaxNode; |
1822 | } | 1822 | } |
1823 | 1823 | ||
1824 | impl AstNode for MatchArmList { | 1824 | impl AstNode for MatchArmList { |
@@ -1851,7 +1851,7 @@ pub struct MatchExpr { | |||
1851 | pub(crate) syntax: SyntaxNode, | 1851 | pub(crate) syntax: SyntaxNode, |
1852 | } | 1852 | } |
1853 | unsafe impl TransparentNewType for MatchExpr { | 1853 | unsafe impl TransparentNewType for MatchExpr { |
1854 | type Repr = rowan::SyntaxNode<RaTypes>; | 1854 | type Repr = rowan::SyntaxNode; |
1855 | } | 1855 | } |
1856 | 1856 | ||
1857 | impl AstNode for MatchExpr { | 1857 | impl AstNode for MatchExpr { |
@@ -1887,7 +1887,7 @@ pub struct MatchGuard { | |||
1887 | pub(crate) syntax: SyntaxNode, | 1887 | pub(crate) syntax: SyntaxNode, |
1888 | } | 1888 | } |
1889 | unsafe impl TransparentNewType for MatchGuard { | 1889 | unsafe impl TransparentNewType for MatchGuard { |
1890 | type Repr = rowan::SyntaxNode<RaTypes>; | 1890 | type Repr = rowan::SyntaxNode; |
1891 | } | 1891 | } |
1892 | 1892 | ||
1893 | impl AstNode for MatchGuard { | 1893 | impl AstNode for MatchGuard { |
@@ -1919,7 +1919,7 @@ pub struct MethodCallExpr { | |||
1919 | pub(crate) syntax: SyntaxNode, | 1919 | pub(crate) syntax: SyntaxNode, |
1920 | } | 1920 | } |
1921 | unsafe impl TransparentNewType for MethodCallExpr { | 1921 | unsafe impl TransparentNewType for MethodCallExpr { |
1922 | type Repr = rowan::SyntaxNode<RaTypes>; | 1922 | type Repr = rowan::SyntaxNode; |
1923 | } | 1923 | } |
1924 | 1924 | ||
1925 | impl AstNode for MethodCallExpr { | 1925 | impl AstNode for MethodCallExpr { |
@@ -1960,7 +1960,7 @@ pub struct Module { | |||
1960 | pub(crate) syntax: SyntaxNode, | 1960 | pub(crate) syntax: SyntaxNode, |
1961 | } | 1961 | } |
1962 | unsafe impl TransparentNewType for Module { | 1962 | unsafe impl TransparentNewType for Module { |
1963 | type Repr = rowan::SyntaxNode<RaTypes>; | 1963 | type Repr = rowan::SyntaxNode; |
1964 | } | 1964 | } |
1965 | 1965 | ||
1966 | impl AstNode for Module { | 1966 | impl AstNode for Module { |
@@ -1996,7 +1996,7 @@ pub struct ModuleItem { | |||
1996 | pub(crate) syntax: SyntaxNode, | 1996 | pub(crate) syntax: SyntaxNode, |
1997 | } | 1997 | } |
1998 | unsafe impl TransparentNewType for ModuleItem { | 1998 | unsafe impl TransparentNewType for ModuleItem { |
1999 | type Repr = rowan::SyntaxNode<RaTypes>; | 1999 | type Repr = rowan::SyntaxNode; |
2000 | } | 2000 | } |
2001 | 2001 | ||
2002 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] | 2002 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] |
@@ -2123,7 +2123,7 @@ pub struct Name { | |||
2123 | pub(crate) syntax: SyntaxNode, | 2123 | pub(crate) syntax: SyntaxNode, |
2124 | } | 2124 | } |
2125 | unsafe impl TransparentNewType for Name { | 2125 | unsafe impl TransparentNewType for Name { |
2126 | type Repr = rowan::SyntaxNode<RaTypes>; | 2126 | type Repr = rowan::SyntaxNode; |
2127 | } | 2127 | } |
2128 | 2128 | ||
2129 | impl AstNode for Name { | 2129 | impl AstNode for Name { |
@@ -2151,7 +2151,7 @@ pub struct NameRef { | |||
2151 | pub(crate) syntax: SyntaxNode, | 2151 | pub(crate) syntax: SyntaxNode, |
2152 | } | 2152 | } |
2153 | unsafe impl TransparentNewType for NameRef { | 2153 | unsafe impl TransparentNewType for NameRef { |
2154 | type Repr = rowan::SyntaxNode<RaTypes>; | 2154 | type Repr = rowan::SyntaxNode; |
2155 | } | 2155 | } |
2156 | 2156 | ||
2157 | impl AstNode for NameRef { | 2157 | impl AstNode for NameRef { |
@@ -2179,7 +2179,7 @@ pub struct NamedField { | |||
2179 | pub(crate) syntax: SyntaxNode, | 2179 | pub(crate) syntax: SyntaxNode, |
2180 | } | 2180 | } |
2181 | unsafe impl TransparentNewType for NamedField { | 2181 | unsafe impl TransparentNewType for NamedField { |
2182 | type Repr = rowan::SyntaxNode<RaTypes>; | 2182 | type Repr = rowan::SyntaxNode; |
2183 | } | 2183 | } |
2184 | 2184 | ||
2185 | impl AstNode for NamedField { | 2185 | impl AstNode for NamedField { |
@@ -2215,7 +2215,7 @@ pub struct NamedFieldDef { | |||
2215 | pub(crate) syntax: SyntaxNode, | 2215 | pub(crate) syntax: SyntaxNode, |
2216 | } | 2216 | } |
2217 | unsafe impl TransparentNewType for NamedFieldDef { | 2217 | unsafe impl TransparentNewType for NamedFieldDef { |
2218 | type Repr = rowan::SyntaxNode<RaTypes>; | 2218 | type Repr = rowan::SyntaxNode; |
2219 | } | 2219 | } |
2220 | 2220 | ||
2221 | impl AstNode for NamedFieldDef { | 2221 | impl AstNode for NamedFieldDef { |
@@ -2248,7 +2248,7 @@ pub struct NamedFieldDefList { | |||
2248 | pub(crate) syntax: SyntaxNode, | 2248 | pub(crate) syntax: SyntaxNode, |
2249 | } | 2249 | } |
2250 | unsafe impl TransparentNewType for NamedFieldDefList { | 2250 | unsafe impl TransparentNewType for NamedFieldDefList { |
2251 | type Repr = rowan::SyntaxNode<RaTypes>; | 2251 | type Repr = rowan::SyntaxNode; |
2252 | } | 2252 | } |
2253 | 2253 | ||
2254 | impl AstNode for NamedFieldDefList { | 2254 | impl AstNode for NamedFieldDefList { |
@@ -2280,7 +2280,7 @@ pub struct NamedFieldList { | |||
2280 | pub(crate) syntax: SyntaxNode, | 2280 | pub(crate) syntax: SyntaxNode, |
2281 | } | 2281 | } |
2282 | unsafe impl TransparentNewType for NamedFieldList { | 2282 | unsafe impl TransparentNewType for NamedFieldList { |
2283 | type Repr = rowan::SyntaxNode<RaTypes>; | 2283 | type Repr = rowan::SyntaxNode; |
2284 | } | 2284 | } |
2285 | 2285 | ||
2286 | impl AstNode for NamedFieldList { | 2286 | impl AstNode for NamedFieldList { |
@@ -2312,7 +2312,7 @@ pub struct NeverType { | |||
2312 | pub(crate) syntax: SyntaxNode, | 2312 | pub(crate) syntax: SyntaxNode, |
2313 | } | 2313 | } |
2314 | unsafe impl TransparentNewType for NeverType { | 2314 | unsafe impl TransparentNewType for NeverType { |
2315 | type Repr = rowan::SyntaxNode<RaTypes>; | 2315 | type Repr = rowan::SyntaxNode; |
2316 | } | 2316 | } |
2317 | 2317 | ||
2318 | impl AstNode for NeverType { | 2318 | impl AstNode for NeverType { |
@@ -2340,7 +2340,7 @@ pub struct NominalDef { | |||
2340 | pub(crate) syntax: SyntaxNode, | 2340 | pub(crate) syntax: SyntaxNode, |
2341 | } | 2341 | } |
2342 | unsafe impl TransparentNewType for NominalDef { | 2342 | unsafe impl TransparentNewType for NominalDef { |
2343 | type Repr = rowan::SyntaxNode<RaTypes>; | 2343 | type Repr = rowan::SyntaxNode; |
2344 | } | 2344 | } |
2345 | 2345 | ||
2346 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] | 2346 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] |
@@ -2398,7 +2398,7 @@ pub struct Param { | |||
2398 | pub(crate) syntax: SyntaxNode, | 2398 | pub(crate) syntax: SyntaxNode, |
2399 | } | 2399 | } |
2400 | unsafe impl TransparentNewType for Param { | 2400 | unsafe impl TransparentNewType for Param { |
2401 | type Repr = rowan::SyntaxNode<RaTypes>; | 2401 | type Repr = rowan::SyntaxNode; |
2402 | } | 2402 | } |
2403 | 2403 | ||
2404 | impl AstNode for Param { | 2404 | impl AstNode for Param { |
@@ -2431,7 +2431,7 @@ pub struct ParamList { | |||
2431 | pub(crate) syntax: SyntaxNode, | 2431 | pub(crate) syntax: SyntaxNode, |
2432 | } | 2432 | } |
2433 | unsafe impl TransparentNewType for ParamList { | 2433 | unsafe impl TransparentNewType for ParamList { |
2434 | type Repr = rowan::SyntaxNode<RaTypes>; | 2434 | type Repr = rowan::SyntaxNode; |
2435 | } | 2435 | } |
2436 | 2436 | ||
2437 | impl AstNode for ParamList { | 2437 | impl AstNode for ParamList { |
@@ -2467,7 +2467,7 @@ pub struct ParenExpr { | |||
2467 | pub(crate) syntax: SyntaxNode, | 2467 | pub(crate) syntax: SyntaxNode, |
2468 | } | 2468 | } |
2469 | unsafe impl TransparentNewType for ParenExpr { | 2469 | unsafe impl TransparentNewType for ParenExpr { |
2470 | type Repr = rowan::SyntaxNode<RaTypes>; | 2470 | type Repr = rowan::SyntaxNode; |
2471 | } | 2471 | } |
2472 | 2472 | ||
2473 | impl AstNode for ParenExpr { | 2473 | impl AstNode for ParenExpr { |
@@ -2499,7 +2499,7 @@ pub struct ParenType { | |||
2499 | pub(crate) syntax: SyntaxNode, | 2499 | pub(crate) syntax: SyntaxNode, |
2500 | } | 2500 | } |
2501 | unsafe impl TransparentNewType for ParenType { | 2501 | unsafe impl TransparentNewType for ParenType { |
2502 | type Repr = rowan::SyntaxNode<RaTypes>; | 2502 | type Repr = rowan::SyntaxNode; |
2503 | } | 2503 | } |
2504 | 2504 | ||
2505 | impl AstNode for ParenType { | 2505 | impl AstNode for ParenType { |
@@ -2531,7 +2531,7 @@ pub struct Pat { | |||
2531 | pub(crate) syntax: SyntaxNode, | 2531 | pub(crate) syntax: SyntaxNode, |
2532 | } | 2532 | } |
2533 | unsafe impl TransparentNewType for Pat { | 2533 | unsafe impl TransparentNewType for Pat { |
2534 | type Repr = rowan::SyntaxNode<RaTypes>; | 2534 | type Repr = rowan::SyntaxNode; |
2535 | } | 2535 | } |
2536 | 2536 | ||
2537 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] | 2537 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] |
@@ -2650,7 +2650,7 @@ pub struct Path { | |||
2650 | pub(crate) syntax: SyntaxNode, | 2650 | pub(crate) syntax: SyntaxNode, |
2651 | } | 2651 | } |
2652 | unsafe impl TransparentNewType for Path { | 2652 | unsafe impl TransparentNewType for Path { |
2653 | type Repr = rowan::SyntaxNode<RaTypes>; | 2653 | type Repr = rowan::SyntaxNode; |
2654 | } | 2654 | } |
2655 | 2655 | ||
2656 | impl AstNode for Path { | 2656 | impl AstNode for Path { |
@@ -2686,7 +2686,7 @@ pub struct PathExpr { | |||
2686 | pub(crate) syntax: SyntaxNode, | 2686 | pub(crate) syntax: SyntaxNode, |
2687 | } | 2687 | } |
2688 | unsafe impl TransparentNewType for PathExpr { | 2688 | unsafe impl TransparentNewType for PathExpr { |
2689 | type Repr = rowan::SyntaxNode<RaTypes>; | 2689 | type Repr = rowan::SyntaxNode; |
2690 | } | 2690 | } |
2691 | 2691 | ||
2692 | impl AstNode for PathExpr { | 2692 | impl AstNode for PathExpr { |
@@ -2718,7 +2718,7 @@ pub struct PathPat { | |||
2718 | pub(crate) syntax: SyntaxNode, | 2718 | pub(crate) syntax: SyntaxNode, |
2719 | } | 2719 | } |
2720 | unsafe impl TransparentNewType for PathPat { | 2720 | unsafe impl TransparentNewType for PathPat { |
2721 | type Repr = rowan::SyntaxNode<RaTypes>; | 2721 | type Repr = rowan::SyntaxNode; |
2722 | } | 2722 | } |
2723 | 2723 | ||
2724 | impl AstNode for PathPat { | 2724 | impl AstNode for PathPat { |
@@ -2750,7 +2750,7 @@ pub struct PathSegment { | |||
2750 | pub(crate) syntax: SyntaxNode, | 2750 | pub(crate) syntax: SyntaxNode, |
2751 | } | 2751 | } |
2752 | unsafe impl TransparentNewType for PathSegment { | 2752 | unsafe impl TransparentNewType for PathSegment { |
2753 | type Repr = rowan::SyntaxNode<RaTypes>; | 2753 | type Repr = rowan::SyntaxNode; |
2754 | } | 2754 | } |
2755 | 2755 | ||
2756 | impl AstNode for PathSegment { | 2756 | impl AstNode for PathSegment { |
@@ -2786,7 +2786,7 @@ pub struct PathType { | |||
2786 | pub(crate) syntax: SyntaxNode, | 2786 | pub(crate) syntax: SyntaxNode, |
2787 | } | 2787 | } |
2788 | unsafe impl TransparentNewType for PathType { | 2788 | unsafe impl TransparentNewType for PathType { |
2789 | type Repr = rowan::SyntaxNode<RaTypes>; | 2789 | type Repr = rowan::SyntaxNode; |
2790 | } | 2790 | } |
2791 | 2791 | ||
2792 | impl AstNode for PathType { | 2792 | impl AstNode for PathType { |
@@ -2818,7 +2818,7 @@ pub struct PlaceholderPat { | |||
2818 | pub(crate) syntax: SyntaxNode, | 2818 | pub(crate) syntax: SyntaxNode, |
2819 | } | 2819 | } |
2820 | unsafe impl TransparentNewType for PlaceholderPat { | 2820 | unsafe impl TransparentNewType for PlaceholderPat { |
2821 | type Repr = rowan::SyntaxNode<RaTypes>; | 2821 | type Repr = rowan::SyntaxNode; |
2822 | } | 2822 | } |
2823 | 2823 | ||
2824 | impl AstNode for PlaceholderPat { | 2824 | impl AstNode for PlaceholderPat { |
@@ -2846,7 +2846,7 @@ pub struct PlaceholderType { | |||
2846 | pub(crate) syntax: SyntaxNode, | 2846 | pub(crate) syntax: SyntaxNode, |
2847 | } | 2847 | } |
2848 | unsafe impl TransparentNewType for PlaceholderType { | 2848 | unsafe impl TransparentNewType for PlaceholderType { |
2849 | type Repr = rowan::SyntaxNode<RaTypes>; | 2849 | type Repr = rowan::SyntaxNode; |
2850 | } | 2850 | } |
2851 | 2851 | ||
2852 | impl AstNode for PlaceholderType { | 2852 | impl AstNode for PlaceholderType { |
@@ -2874,7 +2874,7 @@ pub struct PointerType { | |||
2874 | pub(crate) syntax: SyntaxNode, | 2874 | pub(crate) syntax: SyntaxNode, |
2875 | } | 2875 | } |
2876 | unsafe impl TransparentNewType for PointerType { | 2876 | unsafe impl TransparentNewType for PointerType { |
2877 | type Repr = rowan::SyntaxNode<RaTypes>; | 2877 | type Repr = rowan::SyntaxNode; |
2878 | } | 2878 | } |
2879 | 2879 | ||
2880 | impl AstNode for PointerType { | 2880 | impl AstNode for PointerType { |
@@ -2906,7 +2906,7 @@ pub struct PosFieldDef { | |||
2906 | pub(crate) syntax: SyntaxNode, | 2906 | pub(crate) syntax: SyntaxNode, |
2907 | } | 2907 | } |
2908 | unsafe impl TransparentNewType for PosFieldDef { | 2908 | unsafe impl TransparentNewType for PosFieldDef { |
2909 | type Repr = rowan::SyntaxNode<RaTypes>; | 2909 | type Repr = rowan::SyntaxNode; |
2910 | } | 2910 | } |
2911 | 2911 | ||
2912 | impl AstNode for PosFieldDef { | 2912 | impl AstNode for PosFieldDef { |
@@ -2940,7 +2940,7 @@ pub struct PosFieldDefList { | |||
2940 | pub(crate) syntax: SyntaxNode, | 2940 | pub(crate) syntax: SyntaxNode, |
2941 | } | 2941 | } |
2942 | unsafe impl TransparentNewType for PosFieldDefList { | 2942 | unsafe impl TransparentNewType for PosFieldDefList { |
2943 | type Repr = rowan::SyntaxNode<RaTypes>; | 2943 | type Repr = rowan::SyntaxNode; |
2944 | } | 2944 | } |
2945 | 2945 | ||
2946 | impl AstNode for PosFieldDefList { | 2946 | impl AstNode for PosFieldDefList { |
@@ -2972,7 +2972,7 @@ pub struct PrefixExpr { | |||
2972 | pub(crate) syntax: SyntaxNode, | 2972 | pub(crate) syntax: SyntaxNode, |
2973 | } | 2973 | } |
2974 | unsafe impl TransparentNewType for PrefixExpr { | 2974 | unsafe impl TransparentNewType for PrefixExpr { |
2975 | type Repr = rowan::SyntaxNode<RaTypes>; | 2975 | type Repr = rowan::SyntaxNode; |
2976 | } | 2976 | } |
2977 | 2977 | ||
2978 | impl AstNode for PrefixExpr { | 2978 | impl AstNode for PrefixExpr { |
@@ -3004,7 +3004,7 @@ pub struct RangeExpr { | |||
3004 | pub(crate) syntax: SyntaxNode, | 3004 | pub(crate) syntax: SyntaxNode, |
3005 | } | 3005 | } |
3006 | unsafe impl TransparentNewType for RangeExpr { | 3006 | unsafe impl TransparentNewType for RangeExpr { |
3007 | type Repr = rowan::SyntaxNode<RaTypes>; | 3007 | type Repr = rowan::SyntaxNode; |
3008 | } | 3008 | } |
3009 | 3009 | ||
3010 | impl AstNode for RangeExpr { | 3010 | impl AstNode for RangeExpr { |
@@ -3032,7 +3032,7 @@ pub struct RangePat { | |||
3032 | pub(crate) syntax: SyntaxNode, | 3032 | pub(crate) syntax: SyntaxNode, |
3033 | } | 3033 | } |
3034 | unsafe impl TransparentNewType for RangePat { | 3034 | unsafe impl TransparentNewType for RangePat { |
3035 | type Repr = rowan::SyntaxNode<RaTypes>; | 3035 | type Repr = rowan::SyntaxNode; |
3036 | } | 3036 | } |
3037 | 3037 | ||
3038 | impl AstNode for RangePat { | 3038 | impl AstNode for RangePat { |
@@ -3060,7 +3060,7 @@ pub struct RefExpr { | |||
3060 | pub(crate) syntax: SyntaxNode, | 3060 | pub(crate) syntax: SyntaxNode, |
3061 | } | 3061 | } |
3062 | unsafe impl TransparentNewType for RefExpr { | 3062 | unsafe impl TransparentNewType for RefExpr { |
3063 | type Repr = rowan::SyntaxNode<RaTypes>; | 3063 | type Repr = rowan::SyntaxNode; |
3064 | } | 3064 | } |
3065 | 3065 | ||
3066 | impl AstNode for RefExpr { | 3066 | impl AstNode for RefExpr { |
@@ -3092,7 +3092,7 @@ pub struct RefPat { | |||
3092 | pub(crate) syntax: SyntaxNode, | 3092 | pub(crate) syntax: SyntaxNode, |
3093 | } | 3093 | } |
3094 | unsafe impl TransparentNewType for RefPat { | 3094 | unsafe impl TransparentNewType for RefPat { |
3095 | type Repr = rowan::SyntaxNode<RaTypes>; | 3095 | type Repr = rowan::SyntaxNode; |
3096 | } | 3096 | } |
3097 | 3097 | ||
3098 | impl AstNode for RefPat { | 3098 | impl AstNode for RefPat { |
@@ -3124,7 +3124,7 @@ pub struct ReferenceType { | |||
3124 | pub(crate) syntax: SyntaxNode, | 3124 | pub(crate) syntax: SyntaxNode, |
3125 | } | 3125 | } |
3126 | unsafe impl TransparentNewType for ReferenceType { | 3126 | unsafe impl TransparentNewType for ReferenceType { |
3127 | type Repr = rowan::SyntaxNode<RaTypes>; | 3127 | type Repr = rowan::SyntaxNode; |
3128 | } | 3128 | } |
3129 | 3129 | ||
3130 | impl AstNode for ReferenceType { | 3130 | impl AstNode for ReferenceType { |
@@ -3156,7 +3156,7 @@ pub struct RetType { | |||
3156 | pub(crate) syntax: SyntaxNode, | 3156 | pub(crate) syntax: SyntaxNode, |
3157 | } | 3157 | } |
3158 | unsafe impl TransparentNewType for RetType { | 3158 | unsafe impl TransparentNewType for RetType { |
3159 | type Repr = rowan::SyntaxNode<RaTypes>; | 3159 | type Repr = rowan::SyntaxNode; |
3160 | } | 3160 | } |
3161 | 3161 | ||
3162 | impl AstNode for RetType { | 3162 | impl AstNode for RetType { |
@@ -3188,7 +3188,7 @@ pub struct ReturnExpr { | |||
3188 | pub(crate) syntax: SyntaxNode, | 3188 | pub(crate) syntax: SyntaxNode, |
3189 | } | 3189 | } |
3190 | unsafe impl TransparentNewType for ReturnExpr { | 3190 | unsafe impl TransparentNewType for ReturnExpr { |
3191 | type Repr = rowan::SyntaxNode<RaTypes>; | 3191 | type Repr = rowan::SyntaxNode; |
3192 | } | 3192 | } |
3193 | 3193 | ||
3194 | impl AstNode for ReturnExpr { | 3194 | impl AstNode for ReturnExpr { |
@@ -3220,7 +3220,7 @@ pub struct SelfParam { | |||
3220 | pub(crate) syntax: SyntaxNode, | 3220 | pub(crate) syntax: SyntaxNode, |
3221 | } | 3221 | } |
3222 | unsafe impl TransparentNewType for SelfParam { | 3222 | unsafe impl TransparentNewType for SelfParam { |
3223 | type Repr = rowan::SyntaxNode<RaTypes>; | 3223 | type Repr = rowan::SyntaxNode; |
3224 | } | 3224 | } |
3225 | 3225 | ||
3226 | impl AstNode for SelfParam { | 3226 | impl AstNode for SelfParam { |
@@ -3249,7 +3249,7 @@ pub struct SlicePat { | |||
3249 | pub(crate) syntax: SyntaxNode, | 3249 | pub(crate) syntax: SyntaxNode, |
3250 | } | 3250 | } |
3251 | unsafe impl TransparentNewType for SlicePat { | 3251 | unsafe impl TransparentNewType for SlicePat { |
3252 | type Repr = rowan::SyntaxNode<RaTypes>; | 3252 | type Repr = rowan::SyntaxNode; |
3253 | } | 3253 | } |
3254 | 3254 | ||
3255 | impl AstNode for SlicePat { | 3255 | impl AstNode for SlicePat { |
@@ -3277,7 +3277,7 @@ pub struct SliceType { | |||
3277 | pub(crate) syntax: SyntaxNode, | 3277 | pub(crate) syntax: SyntaxNode, |
3278 | } | 3278 | } |
3279 | unsafe impl TransparentNewType for SliceType { | 3279 | unsafe impl TransparentNewType for SliceType { |
3280 | type Repr = rowan::SyntaxNode<RaTypes>; | 3280 | type Repr = rowan::SyntaxNode; |
3281 | } | 3281 | } |
3282 | 3282 | ||
3283 | impl AstNode for SliceType { | 3283 | impl AstNode for SliceType { |
@@ -3309,7 +3309,7 @@ pub struct SourceFile { | |||
3309 | pub(crate) syntax: SyntaxNode, | 3309 | pub(crate) syntax: SyntaxNode, |
3310 | } | 3310 | } |
3311 | unsafe impl TransparentNewType for SourceFile { | 3311 | unsafe impl TransparentNewType for SourceFile { |
3312 | type Repr = rowan::SyntaxNode<RaTypes>; | 3312 | type Repr = rowan::SyntaxNode; |
3313 | } | 3313 | } |
3314 | 3314 | ||
3315 | impl AstNode for SourceFile { | 3315 | impl AstNode for SourceFile { |
@@ -3343,7 +3343,7 @@ pub struct StaticDef { | |||
3343 | pub(crate) syntax: SyntaxNode, | 3343 | pub(crate) syntax: SyntaxNode, |
3344 | } | 3344 | } |
3345 | unsafe impl TransparentNewType for StaticDef { | 3345 | unsafe impl TransparentNewType for StaticDef { |
3346 | type Repr = rowan::SyntaxNode<RaTypes>; | 3346 | type Repr = rowan::SyntaxNode; |
3347 | } | 3347 | } |
3348 | 3348 | ||
3349 | impl AstNode for StaticDef { | 3349 | impl AstNode for StaticDef { |
@@ -3381,7 +3381,7 @@ pub struct Stmt { | |||
3381 | pub(crate) syntax: SyntaxNode, | 3381 | pub(crate) syntax: SyntaxNode, |
3382 | } | 3382 | } |
3383 | unsafe impl TransparentNewType for Stmt { | 3383 | unsafe impl TransparentNewType for Stmt { |
3384 | type Repr = rowan::SyntaxNode<RaTypes>; | 3384 | type Repr = rowan::SyntaxNode; |
3385 | } | 3385 | } |
3386 | 3386 | ||
3387 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] | 3387 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] |
@@ -3436,7 +3436,7 @@ pub struct StructDef { | |||
3436 | pub(crate) syntax: SyntaxNode, | 3436 | pub(crate) syntax: SyntaxNode, |
3437 | } | 3437 | } |
3438 | unsafe impl TransparentNewType for StructDef { | 3438 | unsafe impl TransparentNewType for StructDef { |
3439 | type Repr = rowan::SyntaxNode<RaTypes>; | 3439 | type Repr = rowan::SyntaxNode; |
3440 | } | 3440 | } |
3441 | 3441 | ||
3442 | impl AstNode for StructDef { | 3442 | impl AstNode for StructDef { |
@@ -3469,7 +3469,7 @@ pub struct StructLit { | |||
3469 | pub(crate) syntax: SyntaxNode, | 3469 | pub(crate) syntax: SyntaxNode, |
3470 | } | 3470 | } |
3471 | unsafe impl TransparentNewType for StructLit { | 3471 | unsafe impl TransparentNewType for StructLit { |
3472 | type Repr = rowan::SyntaxNode<RaTypes>; | 3472 | type Repr = rowan::SyntaxNode; |
3473 | } | 3473 | } |
3474 | 3474 | ||
3475 | impl AstNode for StructLit { | 3475 | impl AstNode for StructLit { |
@@ -3509,7 +3509,7 @@ pub struct StructPat { | |||
3509 | pub(crate) syntax: SyntaxNode, | 3509 | pub(crate) syntax: SyntaxNode, |
3510 | } | 3510 | } |
3511 | unsafe impl TransparentNewType for StructPat { | 3511 | unsafe impl TransparentNewType for StructPat { |
3512 | type Repr = rowan::SyntaxNode<RaTypes>; | 3512 | type Repr = rowan::SyntaxNode; |
3513 | } | 3513 | } |
3514 | 3514 | ||
3515 | impl AstNode for StructPat { | 3515 | impl AstNode for StructPat { |
@@ -3545,7 +3545,7 @@ pub struct TokenTree { | |||
3545 | pub(crate) syntax: SyntaxNode, | 3545 | pub(crate) syntax: SyntaxNode, |
3546 | } | 3546 | } |
3547 | unsafe impl TransparentNewType for TokenTree { | 3547 | unsafe impl TransparentNewType for TokenTree { |
3548 | type Repr = rowan::SyntaxNode<RaTypes>; | 3548 | type Repr = rowan::SyntaxNode; |
3549 | } | 3549 | } |
3550 | 3550 | ||
3551 | impl AstNode for TokenTree { | 3551 | impl AstNode for TokenTree { |
@@ -3573,7 +3573,7 @@ pub struct TraitDef { | |||
3573 | pub(crate) syntax: SyntaxNode, | 3573 | pub(crate) syntax: SyntaxNode, |
3574 | } | 3574 | } |
3575 | unsafe impl TransparentNewType for TraitDef { | 3575 | unsafe impl TransparentNewType for TraitDef { |
3576 | type Repr = rowan::SyntaxNode<RaTypes>; | 3576 | type Repr = rowan::SyntaxNode; |
3577 | } | 3577 | } |
3578 | 3578 | ||
3579 | impl AstNode for TraitDef { | 3579 | impl AstNode for TraitDef { |
@@ -3611,7 +3611,7 @@ pub struct TryExpr { | |||
3611 | pub(crate) syntax: SyntaxNode, | 3611 | pub(crate) syntax: SyntaxNode, |
3612 | } | 3612 | } |
3613 | unsafe impl TransparentNewType for TryExpr { | 3613 | unsafe impl TransparentNewType for TryExpr { |
3614 | type Repr = rowan::SyntaxNode<RaTypes>; | 3614 | type Repr = rowan::SyntaxNode; |
3615 | } | 3615 | } |
3616 | 3616 | ||
3617 | impl AstNode for TryExpr { | 3617 | impl AstNode for TryExpr { |
@@ -3643,7 +3643,7 @@ pub struct TupleExpr { | |||
3643 | pub(crate) syntax: SyntaxNode, | 3643 | pub(crate) syntax: SyntaxNode, |
3644 | } | 3644 | } |
3645 | unsafe impl TransparentNewType for TupleExpr { | 3645 | unsafe impl TransparentNewType for TupleExpr { |
3646 | type Repr = rowan::SyntaxNode<RaTypes>; | 3646 | type Repr = rowan::SyntaxNode; |
3647 | } | 3647 | } |
3648 | 3648 | ||
3649 | impl AstNode for TupleExpr { | 3649 | impl AstNode for TupleExpr { |
@@ -3675,7 +3675,7 @@ pub struct TuplePat { | |||
3675 | pub(crate) syntax: SyntaxNode, | 3675 | pub(crate) syntax: SyntaxNode, |
3676 | } | 3676 | } |
3677 | unsafe impl TransparentNewType for TuplePat { | 3677 | unsafe impl TransparentNewType for TuplePat { |
3678 | type Repr = rowan::SyntaxNode<RaTypes>; | 3678 | type Repr = rowan::SyntaxNode; |
3679 | } | 3679 | } |
3680 | 3680 | ||
3681 | impl AstNode for TuplePat { | 3681 | impl AstNode for TuplePat { |
@@ -3707,7 +3707,7 @@ pub struct TupleStructPat { | |||
3707 | pub(crate) syntax: SyntaxNode, | 3707 | pub(crate) syntax: SyntaxNode, |
3708 | } | 3708 | } |
3709 | unsafe impl TransparentNewType for TupleStructPat { | 3709 | unsafe impl TransparentNewType for TupleStructPat { |
3710 | type Repr = rowan::SyntaxNode<RaTypes>; | 3710 | type Repr = rowan::SyntaxNode; |
3711 | } | 3711 | } |
3712 | 3712 | ||
3713 | impl AstNode for TupleStructPat { | 3713 | impl AstNode for TupleStructPat { |
@@ -3743,7 +3743,7 @@ pub struct TupleType { | |||
3743 | pub(crate) syntax: SyntaxNode, | 3743 | pub(crate) syntax: SyntaxNode, |
3744 | } | 3744 | } |
3745 | unsafe impl TransparentNewType for TupleType { | 3745 | unsafe impl TransparentNewType for TupleType { |
3746 | type Repr = rowan::SyntaxNode<RaTypes>; | 3746 | type Repr = rowan::SyntaxNode; |
3747 | } | 3747 | } |
3748 | 3748 | ||
3749 | impl AstNode for TupleType { | 3749 | impl AstNode for TupleType { |
@@ -3775,7 +3775,7 @@ pub struct TypeAliasDef { | |||
3775 | pub(crate) syntax: SyntaxNode, | 3775 | pub(crate) syntax: SyntaxNode, |
3776 | } | 3776 | } |
3777 | unsafe impl TransparentNewType for TypeAliasDef { | 3777 | unsafe impl TransparentNewType for TypeAliasDef { |
3778 | type Repr = rowan::SyntaxNode<RaTypes>; | 3778 | type Repr = rowan::SyntaxNode; |
3779 | } | 3779 | } |
3780 | 3780 | ||
3781 | impl AstNode for TypeAliasDef { | 3781 | impl AstNode for TypeAliasDef { |
@@ -3813,7 +3813,7 @@ pub struct TypeArg { | |||
3813 | pub(crate) syntax: SyntaxNode, | 3813 | pub(crate) syntax: SyntaxNode, |
3814 | } | 3814 | } |
3815 | unsafe impl TransparentNewType for TypeArg { | 3815 | unsafe impl TransparentNewType for TypeArg { |
3816 | type Repr = rowan::SyntaxNode<RaTypes>; | 3816 | type Repr = rowan::SyntaxNode; |
3817 | } | 3817 | } |
3818 | 3818 | ||
3819 | impl AstNode for TypeArg { | 3819 | impl AstNode for TypeArg { |
@@ -3845,7 +3845,7 @@ pub struct TypeArgList { | |||
3845 | pub(crate) syntax: SyntaxNode, | 3845 | pub(crate) syntax: SyntaxNode, |
3846 | } | 3846 | } |
3847 | unsafe impl TransparentNewType for TypeArgList { | 3847 | unsafe impl TransparentNewType for TypeArgList { |
3848 | type Repr = rowan::SyntaxNode<RaTypes>; | 3848 | type Repr = rowan::SyntaxNode; |
3849 | } | 3849 | } |
3850 | 3850 | ||
3851 | impl AstNode for TypeArgList { | 3851 | impl AstNode for TypeArgList { |
@@ -3885,7 +3885,7 @@ pub struct TypeBound { | |||
3885 | pub(crate) syntax: SyntaxNode, | 3885 | pub(crate) syntax: SyntaxNode, |
3886 | } | 3886 | } |
3887 | unsafe impl TransparentNewType for TypeBound { | 3887 | unsafe impl TransparentNewType for TypeBound { |
3888 | type Repr = rowan::SyntaxNode<RaTypes>; | 3888 | type Repr = rowan::SyntaxNode; |
3889 | } | 3889 | } |
3890 | 3890 | ||
3891 | impl AstNode for TypeBound { | 3891 | impl AstNode for TypeBound { |
@@ -3917,7 +3917,7 @@ pub struct TypeBoundList { | |||
3917 | pub(crate) syntax: SyntaxNode, | 3917 | pub(crate) syntax: SyntaxNode, |
3918 | } | 3918 | } |
3919 | unsafe impl TransparentNewType for TypeBoundList { | 3919 | unsafe impl TransparentNewType for TypeBoundList { |
3920 | type Repr = rowan::SyntaxNode<RaTypes>; | 3920 | type Repr = rowan::SyntaxNode; |
3921 | } | 3921 | } |
3922 | 3922 | ||
3923 | impl AstNode for TypeBoundList { | 3923 | impl AstNode for TypeBoundList { |
@@ -3949,7 +3949,7 @@ pub struct TypeParam { | |||
3949 | pub(crate) syntax: SyntaxNode, | 3949 | pub(crate) syntax: SyntaxNode, |
3950 | } | 3950 | } |
3951 | unsafe impl TransparentNewType for TypeParam { | 3951 | unsafe impl TransparentNewType for TypeParam { |
3952 | type Repr = rowan::SyntaxNode<RaTypes>; | 3952 | type Repr = rowan::SyntaxNode; |
3953 | } | 3953 | } |
3954 | 3954 | ||
3955 | impl AstNode for TypeParam { | 3955 | impl AstNode for TypeParam { |
@@ -3980,7 +3980,7 @@ pub struct TypeParamList { | |||
3980 | pub(crate) syntax: SyntaxNode, | 3980 | pub(crate) syntax: SyntaxNode, |
3981 | } | 3981 | } |
3982 | unsafe impl TransparentNewType for TypeParamList { | 3982 | unsafe impl TransparentNewType for TypeParamList { |
3983 | type Repr = rowan::SyntaxNode<RaTypes>; | 3983 | type Repr = rowan::SyntaxNode; |
3984 | } | 3984 | } |
3985 | 3985 | ||
3986 | impl AstNode for TypeParamList { | 3986 | impl AstNode for TypeParamList { |
@@ -4016,7 +4016,7 @@ pub struct TypeRef { | |||
4016 | pub(crate) syntax: SyntaxNode, | 4016 | pub(crate) syntax: SyntaxNode, |
4017 | } | 4017 | } |
4018 | unsafe impl TransparentNewType for TypeRef { | 4018 | unsafe impl TransparentNewType for TypeRef { |
4019 | type Repr = rowan::SyntaxNode<RaTypes>; | 4019 | type Repr = rowan::SyntaxNode; |
4020 | } | 4020 | } |
4021 | 4021 | ||
4022 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] | 4022 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] |
@@ -4159,7 +4159,7 @@ pub struct UseItem { | |||
4159 | pub(crate) syntax: SyntaxNode, | 4159 | pub(crate) syntax: SyntaxNode, |
4160 | } | 4160 | } |
4161 | unsafe impl TransparentNewType for UseItem { | 4161 | unsafe impl TransparentNewType for UseItem { |
4162 | type Repr = rowan::SyntaxNode<RaTypes>; | 4162 | type Repr = rowan::SyntaxNode; |
4163 | } | 4163 | } |
4164 | 4164 | ||
4165 | impl AstNode for UseItem { | 4165 | impl AstNode for UseItem { |
@@ -4192,7 +4192,7 @@ pub struct UseTree { | |||
4192 | pub(crate) syntax: SyntaxNode, | 4192 | pub(crate) syntax: SyntaxNode, |
4193 | } | 4193 | } |
4194 | unsafe impl TransparentNewType for UseTree { | 4194 | unsafe impl TransparentNewType for UseTree { |
4195 | type Repr = rowan::SyntaxNode<RaTypes>; | 4195 | type Repr = rowan::SyntaxNode; |
4196 | } | 4196 | } |
4197 | 4197 | ||
4198 | impl AstNode for UseTree { | 4198 | impl AstNode for UseTree { |
@@ -4232,7 +4232,7 @@ pub struct UseTreeList { | |||
4232 | pub(crate) syntax: SyntaxNode, | 4232 | pub(crate) syntax: SyntaxNode, |
4233 | } | 4233 | } |
4234 | unsafe impl TransparentNewType for UseTreeList { | 4234 | unsafe impl TransparentNewType for UseTreeList { |
4235 | type Repr = rowan::SyntaxNode<RaTypes>; | 4235 | type Repr = rowan::SyntaxNode; |
4236 | } | 4236 | } |
4237 | 4237 | ||
4238 | impl AstNode for UseTreeList { | 4238 | impl AstNode for UseTreeList { |
@@ -4264,7 +4264,7 @@ pub struct Visibility { | |||
4264 | pub(crate) syntax: SyntaxNode, | 4264 | pub(crate) syntax: SyntaxNode, |
4265 | } | 4265 | } |
4266 | unsafe impl TransparentNewType for Visibility { | 4266 | unsafe impl TransparentNewType for Visibility { |
4267 | type Repr = rowan::SyntaxNode<RaTypes>; | 4267 | type Repr = rowan::SyntaxNode; |
4268 | } | 4268 | } |
4269 | 4269 | ||
4270 | impl AstNode for Visibility { | 4270 | impl AstNode for Visibility { |
@@ -4292,7 +4292,7 @@ pub struct WhereClause { | |||
4292 | pub(crate) syntax: SyntaxNode, | 4292 | pub(crate) syntax: SyntaxNode, |
4293 | } | 4293 | } |
4294 | unsafe impl TransparentNewType for WhereClause { | 4294 | unsafe impl TransparentNewType for WhereClause { |
4295 | type Repr = rowan::SyntaxNode<RaTypes>; | 4295 | type Repr = rowan::SyntaxNode; |
4296 | } | 4296 | } |
4297 | 4297 | ||
4298 | impl AstNode for WhereClause { | 4298 | impl AstNode for WhereClause { |
@@ -4324,7 +4324,7 @@ pub struct WherePred { | |||
4324 | pub(crate) syntax: SyntaxNode, | 4324 | pub(crate) syntax: SyntaxNode, |
4325 | } | 4325 | } |
4326 | unsafe impl TransparentNewType for WherePred { | 4326 | unsafe impl TransparentNewType for WherePred { |
4327 | type Repr = rowan::SyntaxNode<RaTypes>; | 4327 | type Repr = rowan::SyntaxNode; |
4328 | } | 4328 | } |
4329 | 4329 | ||
4330 | impl AstNode for WherePred { | 4330 | impl AstNode for WherePred { |
@@ -4357,7 +4357,7 @@ pub struct WhileExpr { | |||
4357 | pub(crate) syntax: SyntaxNode, | 4357 | pub(crate) syntax: SyntaxNode, |
4358 | } | 4358 | } |
4359 | unsafe impl TransparentNewType for WhileExpr { | 4359 | unsafe impl TransparentNewType for WhileExpr { |
4360 | type Repr = rowan::SyntaxNode<RaTypes>; | 4360 | type Repr = rowan::SyntaxNode; |
4361 | } | 4361 | } |
4362 | 4362 | ||
4363 | impl AstNode for WhileExpr { | 4363 | impl AstNode for WhileExpr { |