pub trait DiagnosticPass {
// Required method
fn diagnostics(&self) -> &DiagnosticContext;
}
Expand description
A pass that implements reporting Diagnostics
Required Methods§
Sourcefn diagnostics(&self) -> &DiagnosticContext
fn diagnostics(&self) -> &DiagnosticContext
Return an iterator of the diagnostics gathered by this pass.