diff options
author | Aleksey Kladov <[email protected]> | 2020-07-29 14:11:48 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-29 14:12:19 +0100 |
commit | dc18ff51c38a9e602832508f4a3676176dbe113d (patch) | |
tree | 631c3a685be6d15eaa868d89185770814ee21ca1 /xtask/src | |
parent | e35804355797a50195718918efc6f7272786d62e (diff) |
Remove dead code
Diffstat (limited to 'xtask/src')
-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 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 { | |||
1630 | /// [Reference](https://doc.rust-lang.org/reference/items/generics.html) | 1630 | /// [Reference](https://doc.rust-lang.org/reference/items/generics.html) |
1631 | struct TypeParamList { | 1631 | struct TypeParamList { |
1632 | T![<], | 1632 | T![<], |
1633 | generic_params: [GenericParam], | ||
1634 | type_params: [TypeParam], | 1633 | type_params: [TypeParam], |
1635 | lifetime_params: [LifetimeParam], | 1634 | lifetime_params: [LifetimeParam], |
1636 | const_params: [ConstParam], | 1635 | const_params: [ConstParam], |
@@ -2102,13 +2101,6 @@ pub(crate) fn rust_ast() -> AstSrc { | |||
2102 | StructDef, EnumDef, UnionDef, | 2101 | StructDef, EnumDef, UnionDef, |
2103 | } | 2102 | } |
2104 | 2103 | ||
2105 | /// Any kind of **declared** generic parameter | ||
2106 | enum GenericParam { | ||
2107 | LifetimeParam, | ||
2108 | TypeParam, | ||
2109 | ConstParam | ||
2110 | } | ||
2111 | |||
2112 | /// Any kind of generic argument passed at instantiation site | 2104 | /// Any kind of generic argument passed at instantiation site |
2113 | enum GenericArg { | 2105 | enum GenericArg { |
2114 | LifetimeArg, | 2106 | LifetimeArg, |