[−][src]Struct rustc_resolve::imports::UnresolvedImportError

pub(in imports) struct UnresolvedImportError {
    span: Span,
    label: Option<String>,
    note: Vec<String>,
    suggestion: Option<(Vec<(Span, String)>, String, Applicability)>,
}

An error that may be transformed into a diagnostic later. Used to combine multiple unresolved import errors within the same use tree into a single diagnostic.

Fields

span: Spanlabel: Option<String>note: Vec<String>suggestion: Option<(Vec<(Span, String)>, String, Applicability)>

Trait Implementations

impl Clone for UnresolvedImportError[src]

impl Debug for UnresolvedImportError[src]

Auto Trait Implementations

impl RefUnwindSafe for UnresolvedImportError

impl !Send for UnresolvedImportError

impl !Sync for UnresolvedImportError

impl Unpin for UnresolvedImportError

impl UnwindSafe for UnresolvedImportError

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> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

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.