pub struct TypeCheckResult {
pub errors: Vec<TypeError>,
pub fn_sigs: HashMap<String, (Vec<Type>, Type, Vec<String>)>,
pub unused_bindings: Vec<(String, String, usize)>,
}Expand description
Result of type-checking.
Fields§
§errors: Vec<TypeError>§fn_sigs: HashMap<String, (Vec<Type>, Type, Vec<String>)>For each user-defined fn: (param_types, return_type, effects).
unused_bindings: Vec<(String, String, usize)>Unused binding warnings: (binding_name, fn_name, line).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeCheckResult
impl RefUnwindSafe for TypeCheckResult
impl Send for TypeCheckResult
impl Sync for TypeCheckResult
impl Unpin for TypeCheckResult
impl UnsafeUnpin for TypeCheckResult
impl UnwindSafe for TypeCheckResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more