pub trait DiagnosticResult {
// Required method
fn accumulate_err(self, diag: &mut DiagnosticContext) -> Self;
}
Expand description
Accumuate the error in a Result
type into the DiagnosticContext
.
Required Methods§
fn accumulate_err(self, diag: &mut DiagnosticContext) -> Self
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.