diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-04-11 23:01:22 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-11 23:01:22 +0100 |
commit | a8e032820f14cad3630299a1ae16c62dcf59f358 (patch) | |
tree | 4438f81bdbf88d694b14c3c448c5bb21c8541091 /xtask/src | |
parent | f13da3f895d9d401ff467a6c1fa33a4adf09fe2c (diff) | |
parent | 5e5eb6a108b00c573455d8d088742592012707be (diff) |
Merge #3955
3955: Align grammar for record patterns and literals r=matklad a=matklad
The grammar now looks like this
[name_ref :] pat
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'xtask/src')
-rw-r--r-- | xtask/src/ast_src.rs | 2 |
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![')'] } |