pub(crate) enum AmbiguityErrorMisc {
SuggestCrate,
SuggestSelf,
FromPrelude,
None,
}
Expand description
Miscellaneous bits of metadata for better ambiguity error reporting.
Variants
SuggestCrate
SuggestSelf
FromPrelude
None
Trait Implementations
sourceimpl Clone for AmbiguityErrorMisc
impl Clone for AmbiguityErrorMisc
sourcefn clone(&self) -> AmbiguityErrorMisc
fn clone(&self) -> AmbiguityErrorMisc
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl PartialEq<AmbiguityErrorMisc> for AmbiguityErrorMisc
impl PartialEq<AmbiguityErrorMisc> for AmbiguityErrorMisc
sourcefn 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
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:
SuggestCrate
: 0 bytesSuggestSelf
: 0 bytesFromPrelude
: 0 bytesNone
: 0 bytes