core: more derive Debug in typedef

This commit is contained in:
lyken 2024-06-25 15:02:50 +08:00
parent 74096eb9f6
commit 144a3fc426
1 changed files with 3 additions and 3 deletions

View File

@ -82,14 +82,14 @@ pub struct Call {
pub loc: Option<Location>,
}
#[derive(Clone)]
#[derive(Debug, Clone)]
pub struct FuncArg {
pub name: StrRef,
pub ty: Type,
pub default_value: Option<SymbolValue>,
}
#[derive(Clone)]
#[derive(Debug, Clone)]
pub struct FunSignature {
pub args: Vec<FuncArg>,
pub ret: Type,
@ -166,7 +166,7 @@ impl RecordField {
}
/// Category of variable and value types.
#[derive(Clone)]
#[derive(Debug, Clone)]
pub enum TypeEnum {
TRigidVar {
id: TypeVarId,