pub trait WithSpan<T> {
// Required method
fn with_span<S: Into<Span>>(
self,
diag: &mut Diagnostics,
span: S,
) -> Result<T, ()>;
}
Required Methods§
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.