chore: remove dead code

This commit is contained in:
2025-05-03 20:38:01 +08:00
parent 4a310ff317
commit 2f8a530612
3 changed files with 1 additions and 5 deletions

View File

@@ -1,5 +1,3 @@
use derive_more::Constructor;
use crate::vm::Env;
use crate::ty::internal::{Const, Value, AttrSet, PrimOp};
use crate::ty::common::Symbol;

View File

@@ -1,5 +1,3 @@
use std::hash::{Hash, Hasher};
use anyhow::Error;
use derive_more::{IsVariant, Unwrap};

View File

@@ -23,7 +23,7 @@ impl From<i::Const> for Const {
Int(int) => Const::Int(int),
Float(float) => Const::Float(float),
String(string) => Const::String(string),
Func(func) => Const::Func
Func(_) => Const::Func
}
}
}