pub enum Error<'src> {
GrammarDefinitionError(GrammarDefinitionError<'src>),
FrontendErrors(Vec<WithSpan<'src, Error<'src>>>),
TypeErrors(Vec<TypeError<'src>>),
}
Variants§
GrammarDefinitionError(GrammarDefinitionError<'src>)
FrontendErrors(Vec<WithSpan<'src, Error<'src>>>)
TypeErrors(Vec<TypeError<'src>>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'src> Freeze for Error<'src>
impl<'src> RefUnwindSafe for Error<'src>
impl<'src> Send for Error<'src>
impl<'src> Sync for Error<'src>
impl<'src> Unpin for Error<'src>
impl<'src> UnwindSafe for Error<'src>
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