pub enum CompilationError {
LexicalError {
range: Range<usize>,
},
NumericalError {
range: Range<usize>,
},
UnterminatedStringLiteral {
range: Range<usize>,
},
}
Expand description
This error lives inside the the parsers Error type. So it’s a sub-error of a parse error.
Variants§
Trait Implementations§
Source§impl Debug for CompilationError
impl Debug 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