diff options
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 | ||