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 d8c1ae538..fc47c36d3 100644
--- a/crates/ra_syntax/src/grammar.ron
+++ b/crates/ra_syntax/src/grammar.ron
@@ -496,7 +496,12 @@ Grammar(
496 "PlaceholderPat": (), 496 "PlaceholderPat": (),
497 "PathPat": ( options: [ "Path" ] ), 497 "PathPat": ( options: [ "Path" ] ),
498 "StructPat": ( options: ["FieldPatList", "Path"] ), 498 "StructPat": ( options: ["FieldPatList", "Path"] ),
499 "FieldPatList": ( collections: [["pats", "FieldPat"]] ), 499 "FieldPatList": (
500 collections: [
501 ["field_pats", "FieldPat"],
502 ["bind_pats", "BindPat"],
503 ]
504 ),
500 "FieldPat": ( 505 "FieldPat": (
501 traits: ["NameOwner"], 506 traits: ["NameOwner"],
502 options: ["Pat"] 507 options: ["Pat"]