Struct rustc_resolve::AmbiguityError
source · pub(crate) struct AmbiguityError<'a> {
pub(crate) kind: AmbiguityKind,
pub(crate) ident: Ident,
pub(crate) b1: &'a NameBinding<'a>,
pub(crate) b2: &'a NameBinding<'a>,
pub(crate) misc1: AmbiguityErrorMisc,
pub(crate) misc2: AmbiguityErrorMisc,
}
Fields
kind: AmbiguityKind
ident: Ident
b1: &'a NameBinding<'a>
b2: &'a NameBinding<'a>
misc1: AmbiguityErrorMisc
misc2: AmbiguityErrorMisc
Auto Trait Implementations
impl<'a> !RefUnwindSafe for AmbiguityError<'a>
impl<'a> !Send for AmbiguityError<'a>
impl<'a> !Sync for AmbiguityError<'a>
impl<'a> Unpin for AmbiguityError<'a>
impl<'a> !UnwindSafe for AmbiguityError<'a>
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: 32 bytes