diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-29 16:38:00 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-29 16:38:00 +0100 |
commit | 525ae706b3e4c0f5f8b80d197e5fede0a9974442 (patch) | |
tree | 8c8ef7e8dd61e79af322880292957c2cb5ca7289 /xtask | |
parent | 9110e3b67f8403f453247a12ad878b6c92c3d3d3 (diff) | |
parent | 0d1357be0515cf14bbca3577715b68794a7637b2 (diff) |
Merge #5570
5570: Dead code r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/ast_src.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 7f0db31bd..a6a4d7c35 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs | |||
@@ -1479,7 +1479,6 @@ pub(crate) fn rust_ast() -> AstSrc { | |||
1479 | /// [Reference](https://doc.rust-lang.org/reference/patterns.html#struct-patterns) | 1479 | /// [Reference](https://doc.rust-lang.org/reference/patterns.html#struct-patterns) |
1480 | struct RecordFieldPatList { | 1480 | struct RecordFieldPatList { |
1481 | T!['{'], | 1481 | T!['{'], |
1482 | pats: [RecordInnerPat], | ||
1483 | record_field_pats: [RecordFieldPat], | 1482 | record_field_pats: [RecordFieldPat], |
1484 | bind_pats: [BindPat], | 1483 | bind_pats: [BindPat], |
1485 | T![..], | 1484 | T![..], |
@@ -2213,13 +2212,6 @@ pub(crate) fn rust_ast() -> AstSrc { | |||
2213 | MacroPat, | 2212 | MacroPat, |
2214 | } | 2213 | } |
2215 | 2214 | ||
2216 | /// Any kind of pattern that appears directly inside of the curly | ||
2217 | /// braces of a record pattern | ||
2218 | enum RecordInnerPat { | ||
2219 | RecordFieldPat, | ||
2220 | BindPat | ||
2221 | } | ||
2222 | |||
2223 | /// Any kind of input to an attribute | 2215 | /// Any kind of input to an attribute |
2224 | enum AttrInput { Literal, TokenTree } | 2216 | enum AttrInput { Literal, TokenTree } |
2225 | 2217 | ||