cairo_lang_lowering::diagnostic

Trait LoweringDiagnosticsBuilder

source
pub trait LoweringDiagnosticsBuilder {
    // Required method
    fn report_by_location(
        &mut self,
        location: Location,
        kind: LoweringDiagnosticKind,
    ) -> DiagnosticAdded;

    // Provided method
    fn report(
        &mut self,
        stable_ptr: impl Into<SyntaxStablePtrId>,
        kind: LoweringDiagnosticKind,
    ) -> DiagnosticAdded { ... }
}

Required Methods§

Provided Methods§

source

fn report( &mut self, stable_ptr: impl Into<SyntaxStablePtrId>, kind: LoweringDiagnosticKind, ) -> DiagnosticAdded

Object Safety§

This trait is not object safe.

Implementors§