Skip to main content

Crate xur_errors

Crate xur_errors 

Source
Expand description

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.

Structs§

Diag
A single diagnostic: a headline message, the primary span it is about, optional labelled spans and free-form notes.
Emitter
Renders diagnostics whose spans may point into any file of a source map.
Label
A message attached to a region of source code.

Enums§

Level