diff options
Diffstat (limited to 'crates/ra_syntax/src/grammar.ron')
-rw-r--r-- | crates/ra_syntax/src/grammar.ron | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index 193b563aa..b1775d0f8 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron | |||
@@ -559,8 +559,11 @@ Grammar( | |||
559 | ["lifetime_params", "LifetimeParam" ], | 559 | ["lifetime_params", "LifetimeParam" ], |
560 | ] | 560 | ] |
561 | ), | 561 | ), |
562 | "TypeParam": ( traits: ["NameOwner"] ), | 562 | "TypeParam": ( traits: ["NameOwner", "AttrsOwner"] ), |
563 | "LifetimeParam": ( options: [ "Lifetime" ] ), | 563 | "LifetimeParam": ( |
564 | options: [ "Lifetime"], | ||
565 | traits: ["AttrsOwner"], | ||
566 | ), | ||
564 | "Lifetime": ( traits: ["AstToken"] ), | 567 | "Lifetime": ( traits: ["AstToken"] ), |
565 | "WhereClause": (), | 568 | "WhereClause": (), |
566 | "ExprStmt": ( | 569 | "ExprStmt": ( |