pub(crate) enum AmbiguityErrorMisc {
SuggestCrate,
SuggestSelf,
FromPrelude,
None,
}
Expand description
Miscellaneous bits of metadata for better ambiguity error reporting.
Variants§
Trait Implementations§
source§impl Clone for AmbiguityErrorMisc
impl Clone for AmbiguityErrorMisc
source§fn clone(&self) -> AmbiguityErrorMisc
fn clone(&self) -> AmbiguityErrorMisc
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<AmbiguityErrorMisc> for AmbiguityErrorMisc
impl PartialEq<AmbiguityErrorMisc> for AmbiguityErrorMisc
source§fn eq(&self, other: &AmbiguityErrorMisc) -> bool
fn eq(&self, other: &AmbiguityErrorMisc) -> bool
impl Copy for AmbiguityErrorMisc
impl StructuralPartialEq for AmbiguityErrorMisc
Auto Trait Implementations§
impl RefUnwindSafe for AmbiguityErrorMisc
impl Send for AmbiguityErrorMisc
impl Sync for AmbiguityErrorMisc
impl Unpin for AmbiguityErrorMisc
impl UnwindSafe for AmbiguityErrorMisc
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: 1 byte
Size for each variant:
SuggestCrate
: 0 bytesSuggestSelf
: 0 bytesFromPrelude
: 0 bytesNone
: 0 bytes