Working param and return type fn type
This commit is contained in:
@@ -24,9 +24,13 @@ pub enum TypeExpr {
|
||||
mutable: bool,
|
||||
ty: Box<TypeExpr>,
|
||||
},
|
||||
UnsafePtr {
|
||||
mutable: bool,
|
||||
ty: Box<TypeExpr>,
|
||||
},
|
||||
Dyn(Box<TypeExpr>),
|
||||
Path(Path, Option<Generics>),
|
||||
StaticFn(Vec<TypeExpr>),
|
||||
StaticFn(Vec<TypeExpr>, Option<Box<TypeExpr>>),
|
||||
Tuple(Vec<TypeExpr>),
|
||||
Lifetime(Identifier),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user