pub enum ConstError {
Arity {
name: String,
expected: usize,
got: usize,
},
LevelNotClosed {
name: String,
level: String,
},
SPropLevel {
name: String,
},
}Expand description
Why a Term::Const reference could not be resolved. Every kernel and the reducer report the
same three failures, so a reference refused by typing is never a normal form to the reducer.
Variants§
Arity
The level list does not match the declaration’s telescope.
LevelNotClosed
The declaration’s stored type mentions a level variable its parameter list does not bind. Instantiating it would leave that level free, so the declaration is refused outright.
SPropLevel
A level argument is or contains SProp, which is a sort and never a level.
Trait Implementations§
Source§impl Clone for ConstError
impl Clone for ConstError
Source§fn clone(&self) -> ConstError
fn clone(&self) -> ConstError
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 ConstError
impl Debug for ConstError
Source§impl Display for ConstError
impl Display for ConstError
Source§impl PartialEq for ConstError
impl PartialEq for ConstError
impl Eq for ConstError
impl StructuralPartialEq for ConstError
Auto Trait Implementations§
impl Freeze for ConstError
impl RefUnwindSafe for ConstError
impl Send for ConstError
impl Sync for ConstError
impl Unpin for ConstError
impl UnsafeUnpin for ConstError
impl UnwindSafe for ConstError
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