Skip to main content

Crate valua_diagnostics

Crate valua_diagnostics 

Source

Structs§

CollectingReporter
A simple in-memory reporter useful for testing.
ConsoleReporter
Writes diagnostics to stderr using codespan-reporting.
Diagnostic
A structured diagnostic message with optional error code, fix suggestion, and secondary source spans.
Span
Byte-range + line/column position within a source file.

Enums§

Severity
Severity level of a diagnostic message.

Traits§

Reporter
Trait for sinks that receive and display diagnostics.

Functions§

render_diagnostic_to_string
Render a diagnostic to a plain string with no ANSI color codes. Intended for tests that verify visual layout of error output.