[−][src]Enum rustc_resolve::VisResolutionError

pub(crate) enum VisResolutionError<'a> {
    Relative2018(Span, &'a Path),
    AncestorOnly(Span),
    FailedToResolve(Span, String, Option<(Vec<(Span, String)>, String, Applicability)>),
    ExpectedFound(Span, String, Res<NodeId>),
    Indeterminate(Span),
    ModuleOnly(Span),
}

Variants

Relative2018(Span, &'a Path)
AncestorOnly(Span)
FailedToResolve(Span, String, Option<(Vec<(Span, String)>, String, Applicability)>)
ExpectedFound(Span, String, Res<NodeId>)
Indeterminate(Span)
ModuleOnly(Span)

Auto Trait Implementations

impl<'a> !RefUnwindSafe for VisResolutionError<'a>

impl<'a> !Send for VisResolutionError<'a>

impl<'a> !Sync for VisResolutionError<'a>

impl<'a> Unpin for VisResolutionError<'a>

impl<'a> !UnwindSafe for VisResolutionError<'a>

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, 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.