Skip to main content

Crate pine_diagnostics

Crate pine_diagnostics 

Source
Expand description

A single diagnostic type shared across the Pine toolchain.

Both pine-sema (which reports errors) and pine-lint (which reports warnings) emit this same Diagnostic, so a consumer can collect, sort, and render findings from every phase through one code path. Severity — not the crate that produced it — decides how a finding is treated.

Structs§

Diagnostic
A single finding from any analysis phase.

Enums§

Severity
How serious a finding is.