calyx_opt::traversal

Trait DiagnosticPass

Source
pub trait DiagnosticPass {
    // Required method
    fn diagnostics(&self) -> &DiagnosticContext;
}
Expand description

A pass that implements reporting Diagnostics

Required Methods§

Source

fn diagnostics(&self) -> &DiagnosticContext

Return an iterator of the diagnostics gathered by this pass.

Implementors§