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 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, |