[][src]Enum leo_compiler::errors::import::ImportError

pub enum ImportError {
    Error(FormattedError),
    ParserError(ParserError),
}

Variants

ParserError(ParserError)

Implementations

impl ImportError[src]

pub fn conflicting_imports(identifier: Identifier) -> Self[src]

pub fn convert_os_string(span: Span) -> Self[src]

pub fn current_directory_error(error: Error) -> Self[src]

pub fn directory_error(error: Error, span: Span, path: PathBuf) -> Self[src]

pub fn star(path: PathBuf, span: Span) -> Self[src]

pub fn expected_lib_file(entry: String, span: Span) -> Self[src]

pub fn unknown_package(identifier: Identifier) -> Self[src]

pub fn unknown_symbol(symbol: ImportSymbol, file: String) -> Self[src]

Trait Implementations

impl Debug for ImportError[src]

impl Display for ImportError[src]

impl Error for ImportError[src]

impl From<Error> for ImportError[src]

impl From<ImportError> for CompilerError[src]

impl From<ParserError> for ImportError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,