Enum rustc_resolve::VisResolutionError[][src]

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

Variants

Relative2018(Span, &'a Path)

Tuple Fields of Relative2018

0: Span1: &'a Path
AncestorOnly(Span)

Tuple Fields of AncestorOnly

0: Span
FailedToResolve(SpanStringOption<(Vec<(Span, String)>, String, Applicability)>)

Tuple Fields of FailedToResolve

0: Span1: String2: Option<(Vec<(Span, String)>, String, Applicability)>
ExpectedFound(SpanStringRes<NodeId>)

Tuple Fields of ExpectedFound

0: Span1: String2: Res<NodeId>
Indeterminate(Span)

Tuple Fields of Indeterminate

0: Span
ModuleOnly(Span)

Tuple Fields of ModuleOnly

0: Span

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Layout

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.

Size: 96 bytes

Size for each variant: