From dc18ff51c38a9e602832508f4a3676176dbe113d Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 29 Jul 2020 15:11:48 +0200 Subject: Remove 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 425814d73..8d1ffc5b5 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs @@ -1630,7 +1630,6 @@ pub(crate) fn rust_ast() -> AstSrc { /// [Reference](https://doc.rust-lang.org/reference/items/generics.html) struct TypeParamList { T![<], - generic_params: [GenericParam], type_params: [TypeParam], lifetime_params: [LifetimeParam], const_params: [ConstParam], @@ -2102,13 +2101,6 @@ pub(crate) fn rust_ast() -> AstSrc { StructDef, EnumDef, UnionDef, } - /// Any kind of **declared** generic parameter - enum GenericParam { - LifetimeParam, - TypeParam, - ConstParam - } - /// Any kind of generic argument passed at instantiation site enum GenericArg { LifetimeArg, -- cgit v1.2.3