From 0d1357be0515cf14bbca3577715b68794a7637b2 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 29 Jul 2020 17:35:05 +0200 Subject: Dead code --- xtask/src/ast_src.rs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'xtask/src') 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 { /// [Reference](https://doc.rust-lang.org/reference/patterns.html#struct-patterns) struct RecordFieldPatList { T!['{'], - pats: [RecordInnerPat], record_field_pats: [RecordFieldPat], bind_pats: [BindPat], T![..], @@ -2213,13 +2212,6 @@ pub(crate) fn rust_ast() -> AstSrc { MacroPat, } - /// Any kind of pattern that appears directly inside of the curly - /// braces of a record pattern - enum RecordInnerPat { - RecordFieldPat, - BindPat - } - /// Any kind of input to an attribute enum AttrInput { Literal, TokenTree } -- cgit v1.2.3