vyre-driver 0.4.1

Driver layer: registry, runtime, pipeline, routing, diagnostics. Substrate-agnostic backend machinery. Part of the vyre GPU compiler.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Structured, machine-readable diagnostics.
//!
//! Every fallible operation in vyre eventually surfaces a failure. The
//! legacy `Error` enum carried prose (and `Fix:` hints inside formatted
//! messages). `Diagnostic` is the structured form consumed by IDEs, language
//! servers, CI annotators, and terminal renderers.

mod legacy;
mod serde_cow;
mod types;

pub use types::{Diagnostic, DiagnosticCode, OpLocation, Severity};

#[cfg(test)]
mod tests;