diff options
Diffstat (limited to 'crates/ra_syntax/src/grammar.ron')
-rw-r--r-- | crates/ra_syntax/src/grammar.ron | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index ad6d74162..660a2b207 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron | |||
@@ -243,6 +243,8 @@ Grammar( | |||
243 | "PARAM", | 243 | "PARAM", |
244 | "SELF_PARAM", | 244 | "SELF_PARAM", |
245 | "ARG_LIST", | 245 | "ARG_LIST", |
246 | "TYPE_BOUND", | ||
247 | "TYPE_BOUND_LIST", | ||
246 | ], | 248 | ], |
247 | ast: { | 249 | ast: { |
248 | "SourceFile": ( | 250 | "SourceFile": ( |
@@ -577,6 +579,17 @@ Grammar( | |||
577 | traits: ["AttrsOwner"], | 579 | traits: ["AttrsOwner"], |
578 | ), | 580 | ), |
579 | "Lifetime": ( traits: ["AstToken"] ), | 581 | "Lifetime": ( traits: ["AstToken"] ), |
582 | "TypeBound": ( | ||
583 | options: [ | ||
584 | "TypeRef", | ||
585 | "Lifetime", | ||
586 | ] | ||
587 | ), | ||
588 | "TypeBoundList": ( | ||
589 | collections: [ | ||
590 | ["bounds", "TypeBound"], | ||
591 | ] | ||
592 | ), | ||
580 | "WhereClause": (), | 593 | "WhereClause": (), |
581 | "ExprStmt": ( | 594 | "ExprStmt": ( |
582 | options: [ ["expr", "Expr"] ] | 595 | options: [ ["expr", "Expr"] ] |