Expand description
Cargo-style diagnostic rendering.
This module provides a renderer that produces error messages in the style of Rust’s compiler, with:
- Colored output
- Source code snippets with line numbers
- Underlines and carets for precise error locations
- Multiple labeled spans
- Notes and help messages
Modules§
- colors
- ANSI color codes for terminal output.
Structs§
- Cargo
Renderer - A Cargo-style diagnostic renderer.
- Render
Config - Configuration for the diagnostic renderer.