Struct rustc_error_messages::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
Trait Implementations§
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§
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.