Enum rustc_resolve::late::diagnostics::AssocSuggestion
source · [−]enum AssocSuggestion {
Field,
MethodWithSelf,
AssocFn,
AssocType,
AssocConst,
}
Expand description
A field or associated item from self type suggested in case of resolution failure.
Variants
Field
MethodWithSelf
AssocFn
AssocType
AssocConst
Implementations
Auto Trait Implementations
impl RefUnwindSafe for AssocSuggestion
impl Send for AssocSuggestion
impl Sync for AssocSuggestion
impl Unpin for AssocSuggestion
impl UnwindSafe for AssocSuggestion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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: 1 byte
Size for each variant:
Field
: 0 bytesMethodWithSelf
: 0 bytesAssocFn
: 0 bytesAssocType
: 0 bytesAssocConst
: 0 bytes