Expand description
Rich diagnostic reporting for Sigil.
Provides Rust-quality error messages with:
- Colored output with source context
- “Did you mean?” suggestions
- Fix suggestions
- Multi-span support for related information
- JSON output for AI agent consumption
Structs§
- Diagnostic
- A rich diagnostic with all context needed for beautiful error reporting.
- Diagnostic
Builder - Diagnostic builder for common error patterns.
- Diagnostic
Label - A label at a specific location.
- Diagnostics
- Collection of diagnostics for a compilation unit.
- FixSuggestion
- A fix suggestion that can be applied automatically.
- Json
Diagnostic - JSON-serializable diagnostic output for AI agents.
- Json
Diagnostics Output - JSON output wrapper for multiple diagnostics.
- Related
Info - A related location with additional context.
Enums§
- Severity
- Severity level for diagnostics.