aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-04-11 22:33:17 +0100
committerAleksey Kladov <[email protected]>2020-04-11 23:00:15 +0100
commit5e5eb6a108b00c573455d8d088742592012707be (patch)
tree49146b7e25835f21c09f75ec56e129367f56cab0 /xtask
parent6b49e774e23c04a04ff5f377fc8dae25b5c69bb0 (diff)
Align grammar for record patterns and literals
The grammar now looks like this [name_ref :] pat
Diffstat (limited to 'xtask')
-rw-r--r--xtask/src/ast_src.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs
index 69cba9168..9c02f7c6f 100644
--- a/xtask/src/ast_src.rs
+++ b/xtask/src/ast_src.rs
@@ -511,7 +511,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
511 T![..], 511 T![..],
512 T!['}'] 512 T!['}']
513 } 513 }
514 struct RecordFieldPat: AttrsOwner, NameOwner { T![:], Pat } 514 struct RecordFieldPat: AttrsOwner { NameRef, T![:], Pat }
515 515
516 struct TupleStructPat { Path, T!['('], args: [Pat], T![')'] } 516 struct TupleStructPat { Path, T!['('], args: [Pat], T![')'] }
517 struct TuplePat { T!['('], args: [Pat], T![')'] } 517 struct TuplePat { T!['('], args: [Pat], T![')'] }