diff options
author | Marcus Klaas de Vries <[email protected]> | 2019-01-16 18:35:27 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-19 12:37:25 +0000 |
commit | ab5deb78117693d776723bc0144e7b34e6f782d1 (patch) | |
tree | 06a1de31ffc6d9d75315829cd7aebce43b44e009 /crates/ra_syntax/src/grammar.ron | |
parent | 9c2d83a4c809b0b11ca389bb454e197859e5116c (diff) |
Create struct patterns up to the hir level
Diffstat (limited to 'crates/ra_syntax/src/grammar.ron')
-rw-r--r-- | crates/ra_syntax/src/grammar.ron | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index b524c8aaf..33080f664 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron | |||
@@ -490,8 +490,8 @@ Grammar( | |||
490 | "RefPat": ( options: [ "Pat" ]), | 490 | "RefPat": ( options: [ "Pat" ]), |
491 | "BindPat": ( traits: ["NameOwner"] ), | 491 | "BindPat": ( traits: ["NameOwner"] ), |
492 | "PlaceholderPat": (), | 492 | "PlaceholderPat": (), |
493 | "PathPat": ( options: ["Path"] ), | 493 | "PathPat": ( options: [ "Path" ] ), |
494 | "StructPat": (), | 494 | "StructPat": ( options: ["FieldPatList", "Path"] ), |
495 | "FieldPatList": (), | 495 | "FieldPatList": (), |
496 | "TupleStructPat": ( | 496 | "TupleStructPat": ( |
497 | options: ["Path"], | 497 | options: ["Path"], |
@@ -508,7 +508,6 @@ Grammar( | |||
508 | "PlaceholderPat", | 508 | "PlaceholderPat", |
509 | "PathPat", | 509 | "PathPat", |
510 | "StructPat", | 510 | "StructPat", |
511 | "FieldPatList", | ||
512 | "TupleStructPat", | 511 | "TupleStructPat", |
513 | "TuplePat", | 512 | "TuplePat", |
514 | "SlicePat", | 513 | "SlicePat", |