Expand description
Terminal back-end for emitting diagnostics.
Modules§
Structs§
- Chars
- Characters to use when rendering the diagnostic.
- Config
- Configures how a diagnostic is rendered.
- Renderer
- A renderer of display list entries.
- Rich
Diagnostic - Output a richly formatted diagnostic, with source code previews.
- Short
Diagnostic - Output a short diagnostic, with a line number, severity, and message.
Enums§
- Display
Style - The display style to use when rendering diagnostics.
Traits§
- General
Write - A trait for writing or formatting into Unicode-accepting buffers or streams.
- Write
Style - A writer that can apply styling for different parts of a diagnostic renderer.
Functions§
- emit
Deprecated - Emit a diagnostic using the given writer, context, config, and files.
- emit_
into_ string - emit_
to_ string - emit_
to_ write_ style - emit_
with_ 🔒style
Type Aliases§
- General
Write Result - The type returned by formatter methods.