Struct rustc_errors::DelayDm
source · [−]pub struct DelayDm<F>(pub F);
Expand description
A workaround for “good path” ICEs when formatting types in disables lints.
Delays formatting until .into(): DiagnosticMessage
is used.
Tuple Fields
0: F
Auto Trait Implementations
impl<F> RefUnwindSafe for DelayDm<F>where
F: RefUnwindSafe,
impl<F> Send for DelayDm<F>where
F: Send,
impl<F> Sync for DelayDm<F>where
F: Sync,
impl<F> Unpin for DelayDm<F>where
F: Unpin,
impl<F> UnwindSafe for DelayDm<F>where
F: UnwindSafe,
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: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.