diff options
Diffstat (limited to 'crates/ra_syntax/src/grammar.ron')
-rw-r--r-- | crates/ra_syntax/src/grammar.ron | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index 33080f664..d58e0dd35 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron | |||
@@ -488,7 +488,10 @@ Grammar( | |||
488 | ), | 488 | ), |
489 | 489 | ||
490 | "RefPat": ( options: [ "Pat" ]), | 490 | "RefPat": ( options: [ "Pat" ]), |
491 | "BindPat": ( traits: ["NameOwner"] ), | 491 | "BindPat": ( |
492 | options: [ "Pat" ], | ||
493 | traits: ["NameOwner"] | ||
494 | ), | ||
492 | "PlaceholderPat": (), | 495 | "PlaceholderPat": (), |
493 | "PathPat": ( options: [ "Path" ] ), | 496 | "PathPat": ( options: [ "Path" ] ), |
494 | "StructPat": ( options: ["FieldPatList", "Path"] ), | 497 | "StructPat": ( options: ["FieldPatList", "Path"] ), |