xur-errors 0.1.6

Diagnostics and their rendering for the Xur language
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Compiler diagnostics.
//!
//! Every compiler stage reports problems as a [`Diag`]; the [`Emitter`] turns
//! them into annotated source snippets. This mirrors the split in
//! `rustc_errors` between building a diagnostic and rendering it.

mod diag;
mod emitter;

pub use diag::{Diag, Label, Level};
pub use emitter::Emitter;