Enum rustc_resolve::late::diagnostics::AssocSuggestion
source · enum AssocSuggestion {
Field,
MethodWithSelf {
called: bool,
},
AssocFn {
called: bool,
},
AssocType,
AssocConst,
}
Expand description
A field or associated item from self type suggested in case of resolution failure.
Variants§
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§
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: 2 bytes
Size for each variant:
Field
: 0 bytesMethodWithSelf
: 1 byteAssocFn
: 1 byteAssocType
: 0 bytesAssocConst
: 0 bytes