Working param and return type fn type

This commit is contained in:
2026-06-07 00:30:27 +02:00
parent e7b4e65b71
commit d0796aa5df
3 changed files with 48 additions and 12 deletions
+5 -1
View File
@@ -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),
}