Enum bitsy_lang::TypeError
source · pub enum TypeError {
UndefinedReference(Arc<Expr>),
NotExpectedType(Type, Type, Arc<Expr>),
InvalidWord(Arc<Expr>),
CantInferType(Arc<Expr>),
Other(Arc<Expr>, String),
}
Variants§
UndefinedReference(Arc<Expr>)
NotExpectedType(Type, Type, Arc<Expr>)
InvalidWord(Arc<Expr>)
CantInferType(Arc<Expr>)
Other(Arc<Expr>, String)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TypeError
impl Send for TypeError
impl Sync for TypeError
impl Unpin for TypeError
impl UnwindSafe for TypeError
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