diff options
author | Aleksey Kladov <[email protected]> | 2020-07-29 16:35:05 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-29 16:35:12 +0100 |
commit | 0d1357be0515cf14bbca3577715b68794a7637b2 (patch) | |
tree | 8c8ef7e8dd61e79af322880292957c2cb5ca7289 /xtask | |
parent | 9110e3b67f8403f453247a12ad878b6c92c3d3d3 (diff) |
Dead code
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 | ||