Enum fungi_lang::bitype::TypeError[][src]

pub enum TypeError {
    UnknownIdxTm,
    VarNotInScope(String),
    IdentNotInScope(String),
    NoParse(String),
    AnnoMism,
    NoSynthRule,
    NoCheckRule,
    InvalidPtr,
    ParamMism(usize),
    ParamNoSynth(usize),
    ParamNoCheck(usize),
    ProjNotProd,
    AppNotArrow,
    ValNotArrow,
    ScopeNotNmTm,
    GetNotRef,
    ExpNotCons,
    BadCheck,
    DSLiteral,
    EmptyDT,
    Unimplemented,
    CheckFailType(Type),
    CheckFailCEffect(CEffect),
    CheckFailArrow(CEffect),
    SynthFailVal(Val),
    UnexpectedCEffect(CEffect),
    UnexpectedType(Type),
    EffectError(Error),
    Later(Rc<TypeError>),
    Inside(Rc<TypeError>),
    Subder,
    Mismatch,
    MismatchSort(SortSort),
    SubsumptionFailure(CEffectCEffect),
}

Typing error

Variants

Trait Implementations

impl Clone for TypeError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TypeError
[src]

Formats the value using the given formatter. Read more

impl Eq for TypeError
[src]

impl PartialEq for TypeError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for TypeError
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Display for TypeError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for TypeError

impl !Sync for TypeError