pub enum CompilationError {
ParseErrors(Vec<(Span, String)>),
NoLanguage(Span),
BadImport(Span, String),
ImportedNameNotFound(Span, String),
ImportDependencyNotFound(String),
NameCollision(Span, Symbol),
}
Variants§
ParseErrors(Vec<(Span, String)>)
NoLanguage(Span)
BadImport(Span, String)
ImportedNameNotFound(Span, String)
ImportDependencyNotFound(String)
NameCollision(Span, Symbol)
Trait Implementations§
Source§impl Clone for CompilationError
impl Clone for CompilationError
Source§fn clone(&self) -> CompilationError
fn clone(&self) -> CompilationError
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CompilationError
impl Debug for CompilationError
Source§impl PartialEq for CompilationError
impl PartialEq for CompilationError
impl StructuralPartialEq for CompilationError
Auto Trait Implementations§
impl Freeze for CompilationError
impl RefUnwindSafe for CompilationError
impl Send for CompilationError
impl Sync for CompilationError
impl Unpin for CompilationError
impl UnwindSafe for CompilationError
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