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

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.

Implementors§