pub enum FixpointParseError {
UIFRelArityMismatch(usize),
TupleCtorArityMismatch(usize, usize),
ProjArityMismatch(usize),
NoGlobalVar(GlobalVar),
CastArityMismatch(usize),
PrimOpArityMismatch(usize),
NoLocalVar(LocalVar),
WrongVarInIsCtor(Var),
}
Variants§
UIFRelArityMismatch(usize)
UIFRels are encoded as Apps, but they are as of right now only binary relations so they must have 2 arguments only.
TupleCtorArityMismatch(usize, usize)
Expected arity (based off of the tuple ctor), actual arity (the numer of args)
ProjArityMismatch(usize)
The number of arguments should only ever be 1 for a tuple proj
NoGlobalVar(GlobalVar)
CastArityMismatch(usize)
Casts should only have 1 arg
PrimOpArityMismatch(usize)
NoLocalVar(LocalVar)
WrongVarInIsCtor(Var)
Expecting fixpoint::Var::DataCtor
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FixpointParseError
impl RefUnwindSafe for FixpointParseError
impl Send for FixpointParseError
impl Sync for FixpointParseError
impl Unpin for FixpointParseError
impl UnwindSafe for FixpointParseError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more