pub trait ErrorKind: Debug + Send {
// Required method
fn build_report<'a>(
&self,
src_id: &'a str,
spans: &[Range<usize>],
) -> Report<'_, (&'a str, Range<usize>)>;
}Expand description
Represents any kind of error that can occur during some operation.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".