Enum Error
#[non_exhaustive]
pub enum Error
This error type encompasses any error that can be returned by this crate.
This error type is marked as non_exhaustive. This means that adding a
new variant is not considered a breaking change.
Variants
-
Parse(Error) An error that occurred while translating concrete syntax into abstract syntax (AST).
-
Translate(Error) An error that occurred while translating abstract syntax into a high level intermediate representation (HIR).
Trait Implementations
impl Clone for Error
fn clone(&self) -> Self
impl Debug for Error
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for Error
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for Error
impl Error for Error
impl From<Error> for Error
fn from(err: Error) -> Error
impl From<Error> for Error
fn from(err: Error) -> Error
impl PartialEq for Error
fn eq(&self, other: &Self) -> bool