aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/grammar.ron
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/src/grammar.ron')
-rw-r--r--crates/ra_syntax/src/grammar.ron7
1 files changed, 6 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron
index d58e0dd35..d8c1ae538 100644
--- a/crates/ra_syntax/src/grammar.ron
+++ b/crates/ra_syntax/src/grammar.ron
@@ -154,6 +154,7 @@ Grammar(
154 "PATH_PAT", 154 "PATH_PAT",
155 "STRUCT_PAT", 155 "STRUCT_PAT",
156 "FIELD_PAT_LIST", 156 "FIELD_PAT_LIST",
157 "FIELD_PAT",
157 "TUPLE_STRUCT_PAT", 158 "TUPLE_STRUCT_PAT",
158 "TUPLE_PAT", 159 "TUPLE_PAT",
159 "SLICE_PAT", 160 "SLICE_PAT",
@@ -495,7 +496,11 @@ Grammar(
495 "PlaceholderPat": (), 496 "PlaceholderPat": (),
496 "PathPat": ( options: [ "Path" ] ), 497 "PathPat": ( options: [ "Path" ] ),
497 "StructPat": ( options: ["FieldPatList", "Path"] ), 498 "StructPat": ( options: ["FieldPatList", "Path"] ),
498 "FieldPatList": (), 499 "FieldPatList": ( collections: [["pats", "FieldPat"]] ),
500 "FieldPat": (
501 traits: ["NameOwner"],
502 options: ["Pat"]
503 ),
499 "TupleStructPat": ( 504 "TupleStructPat": (
500 options: ["Path"], 505 options: ["Path"],
501 collections: [["args", "Pat"]], 506 collections: [["args", "Pat"]],