Expand description
Terminal back-end for emitting diagnostics.
Re-exports§
pub use config::styles::termcolor;
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.
- Styles
- Styles to use when rendering the diagnostic.
- Styles
Writer - A
WriteStyleimplementation that applies customStylesusing termcolor.
Enums§
- Display
Style - The display style to use when rendering diagnostics.
Traits§
- General
Write - A trait for objects which are byte-oriented sinks.
- 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_ io_ write - emit_
to_ string - emit_
to_ write_ style