oxc-miette
oxc-miette provides the diagnostic protocol and renderers used by Oxc.
The crate contains:
DiagnosticandSourceCodetraits- source spans, labels, severities, and named sources
- graphical and JSON diagnostic renderers
It intentionally does not provide an application error container or implicit
global rendering. Applications own diagnostics directly—typically as
Box<dyn Diagnostic + Send + Sync>—and select a renderer explicitly.
use fmt;
use ;
;
let mut output = Stringnew;
new_themed
.render_report
.unwrap;
assert!;
License
Apache-2.0