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
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
Trait Implementations
impl Clone for Err
[src]
impl Clone for Err
fn clone(&self) -> Err
[src]
fn clone(&self) -> Err
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Err
[src]
impl Debug for Err