Enum rustc_resolve::VisResolutionError[−][src]

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

Tuple Fields of Relative2018

0: Span1: &'a Path
AncestorOnly

Tuple Fields of AncestorOnly

0: Span
FailedToResolve

Tuple Fields of FailedToResolve

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

Tuple Fields of ExpectedFound

0: Span1: String2: Res<NodeId>
Indeterminate

Tuple Fields of Indeterminate

0: Span
ModuleOnly

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 be different between compiler versions and platforms. 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