pub(super) struct Diagnostics(RefCell<ThinVec<InferenceDiagnostic>>);Tuple Fields§
§0: RefCell<ThinVec<InferenceDiagnostic>>Implementations§
Source§impl Diagnostics
impl Diagnostics
pub(super) fn push(&self, diagnostic: InferenceDiagnostic)
pub(super) fn extend(&self, diagnostic: &[InferenceDiagnostic])
fn push_ty_diagnostics(&self, diagnostics: ThinVec<TyLoweringDiagnostic>)
pub(super) fn finish(self) -> ThinVec<InferenceDiagnostic>
Trait Implementations§
Source§impl Clone for Diagnostics
impl Clone for Diagnostics
Source§impl Debug for Diagnostics
impl Debug for Diagnostics
Auto Trait Implementations§
impl !Freeze for Diagnostics
impl !RefUnwindSafe for Diagnostics
impl !Sync for Diagnostics
impl Send for Diagnostics
impl Unpin for Diagnostics
impl UnsafeUnpin for Diagnostics
impl UnwindSafe for Diagnostics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more