pub enum TypingError {
Show 14 variants
UnboundVariable(usize),
TypecheckingFail(String, String),
UnificationFail(String, String),
SubtypingFail(String, String),
TypeIncoherence(String),
NodeIncorrectPointer(NodeIndex),
UndefinedConstant(String),
MatchNonInductive(String),
UnignoredInductiveParam(String),
MatchFailure(String, String),
InvalidElimination(String),
WrongInductiveArguments(String),
UnknowInductive(String),
InvalidPatternMatching(String),
}Variants§
UnboundVariable(usize)
TypecheckingFail(String, String)
UnificationFail(String, String)
SubtypingFail(String, String)
TypeIncoherence(String)
NodeIncorrectPointer(NodeIndex)
UndefinedConstant(String)
MatchNonInductive(String)
UnignoredInductiveParam(String)
MatchFailure(String, String)
InvalidElimination(String)
WrongInductiveArguments(String)
UnknowInductive(String)
InvalidPatternMatching(String)
Trait Implementations§
Source§impl Clone for TypingError
impl Clone for TypingError
Source§fn clone(&self) -> TypingError
fn clone(&self) -> TypingError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TypingError
impl Debug for TypingError
Source§impl Display for TypingError
impl Display for TypingError
Source§impl Error for TypingError
impl Error for TypingError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<TypingError> for EvaluationError
impl From<TypingError> for EvaluationError
Source§fn from(source: TypingError) -> Self
fn from(source: TypingError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TypingError
impl PartialEq for TypingError
impl Eq for TypingError
impl StructuralPartialEq for TypingError
Auto Trait Implementations§
impl Freeze for TypingError
impl RefUnwindSafe for TypingError
impl Send for TypingError
impl Sync for TypingError
impl Unpin for TypingError
impl UnwindSafe for TypingError
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