diff options
Diffstat (limited to 'crates/ra_syntax/src/grammar.ron')
-rw-r--r-- | crates/ra_syntax/src/grammar.ron | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index 304bc5909..27a123681 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron | |||
@@ -322,7 +322,7 @@ Grammar( | |||
322 | ], | 322 | ], |
323 | options: ["TypeRef"] | 323 | options: ["TypeRef"] |
324 | ), | 324 | ), |
325 | "ImplBlock": (options: ["ItemList"]), | 325 | "ImplBlock": (options: ["ItemList"], traits: ["TypeParamsOwner"]), |
326 | 326 | ||
327 | "ParenType": (options: ["TypeRef"]), | 327 | "ParenType": (options: ["TypeRef"]), |
328 | "TupleType": ( collections: [["fields", "TypeRef"]] ), | 328 | "TupleType": ( collections: [["fields", "TypeRef"]] ), |
@@ -431,7 +431,7 @@ Grammar( | |||
431 | ), | 431 | ), |
432 | "MethodCallExpr": ( | 432 | "MethodCallExpr": ( |
433 | traits: ["ArgListOwner"], | 433 | traits: ["ArgListOwner"], |
434 | options: [ "Expr", "NameRef" ], | 434 | options: [ "Expr", "NameRef", "TypeArgList" ], |
435 | ), | 435 | ), |
436 | "IndexExpr": (), | 436 | "IndexExpr": (), |
437 | "FieldExpr": (options: ["Expr", "NameRef"]), | 437 | "FieldExpr": (options: ["Expr", "NameRef"]), |