Enum smpl::Err[][src]

pub enum Err {
    ControlFlowErr(ControlFlowErr),
    TypeErr(TypeErr),
    ParseErr(String),
    MultipleMainFns,
    UnknownType(TypeAnnotation),
    UnknownBinding(Ident),
    UnknownFn(ModulePath),
    UnresolvedUses(Vec<AstNode<UseDecl>>),
    UnresolvedStructs(Vec<AstNode<Struct>>),
    UnresolvedFns(Vec<AstNode<Function>>),
    UncheckedFunctionBinding(Ident),
    MissingModName,
}

Variants

Trait Implementations

impl Clone for Err
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Err
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Err

impl Sync for Err