Remove dead code
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user