pub trait MietteExt {
// Required methods
fn with_help(
self,
message: impl Into<Cow<'static, str>>,
) -> Box<dyn Diagnostic + Send + Sync>;
fn with_labels(
self,
labels: impl Iterator<Item = LabeledSpan>,
) -> Box<dyn Diagnostic + Send + Sync>;
}Required Methods§
fn with_help( self, message: impl Into<Cow<'static, str>>, ) -> Box<dyn Diagnostic + Send + Sync>
fn with_labels( self, labels: impl Iterator<Item = LabeledSpan>, ) -> Box<dyn Diagnostic + Send + Sync>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.