diff options
author | Florian Diebold <[email protected]> | 2018-12-24 20:00:14 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2018-12-25 14:16:42 +0000 |
commit | 6fcd38cc81bdcc9921da767872dfce65ee7d2d27 (patch) | |
tree | 5d5ae0f57cc25d0bf8b0613a5e05de1f773b42ef /crates/ra_syntax/src/grammar.ron | |
parent | 4ff161852016c6c15954d6f30bd637834a2b2b68 (diff) |
Infer result of struct literals, and recurse into their child expressions
Diffstat (limited to 'crates/ra_syntax/src/grammar.ron')
-rw-r--r-- | crates/ra_syntax/src/grammar.ron | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index e3b9032a0..0da8b8183 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron | |||
@@ -392,9 +392,9 @@ Grammar( | |||
392 | collections: [ [ "pats", "Pat" ] ] | 392 | collections: [ [ "pats", "Pat" ] ] |
393 | ), | 393 | ), |
394 | "MatchGuard": (), | 394 | "MatchGuard": (), |
395 | "StructLit": (), | 395 | "StructLit": (options: ["Path", "NamedFieldList"]), |
396 | "NamedFieldList": (), | 396 | "NamedFieldList": (collections: [ ["fields", "NamedField"] ]), |
397 | "NamedField": (), | 397 | "NamedField": (options: ["NameRef", "Expr"]), |
398 | "CallExpr": ( | 398 | "CallExpr": ( |
399 | traits: ["ArgListOwner"], | 399 | traits: ["ArgListOwner"], |
400 | options: [ "Expr" ], | 400 | options: [ "Expr" ], |