diff options
Diffstat (limited to 'crates/ra_syntax/src/grammar.ron')
-rw-r--r-- | crates/ra_syntax/src/grammar.ron | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index 9ffa9095b..d6802b6fb 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron | |||
@@ -243,6 +243,7 @@ Grammar( | |||
243 | "TYPE_PARAM_LIST", | 243 | "TYPE_PARAM_LIST", |
244 | "LIFETIME_PARAM", | 244 | "LIFETIME_PARAM", |
245 | "TYPE_PARAM", | 245 | "TYPE_PARAM", |
246 | "CONST_PARAM", | ||
246 | "TYPE_ARG_LIST", | 247 | "TYPE_ARG_LIST", |
247 | "LIFETIME_ARG", | 248 | "LIFETIME_ARG", |
248 | "TYPE_ARG", | 249 | "TYPE_ARG", |
@@ -602,6 +603,10 @@ Grammar( | |||
602 | options: [("default_type", "TypeRef")], | 603 | options: [("default_type", "TypeRef")], |
603 | traits: ["NameOwner", "AttrsOwner", "TypeBoundsOwner"], | 604 | traits: ["NameOwner", "AttrsOwner", "TypeBoundsOwner"], |
604 | ), | 605 | ), |
606 | "ConstParam": ( | ||
607 | options: [("default_val", "Expr")], | ||
608 | traits: ["NameOwner", "AttrsOwner", "TypeAscriptionOwner"], | ||
609 | ), | ||
605 | "LifetimeParam": ( | 610 | "LifetimeParam": ( |
606 | traits: ["AttrsOwner"], | 611 | traits: ["AttrsOwner"], |
607 | ), | 612 | ), |