Available on crate feature
reporting
only.Expand description
Reporting for errors, warnings, and everything else.
The code in this module is heavily inspired by codespan-reporting and ariadne.
Structs§
- Wright’s Diagnostic type wraps one from codespan_reporting to make it compatible with things like Fragment and SourceId.
- A highlighted section of a Source that’s used in a Diagnostic.
Enums§
- The style/priority applied to a Highlight being rendered.
- A severity level for diagnostic messages.
Functions§
- Get the current ColorChoice used when printing Diagnostics to the standard output.
- Set the ColorChoice to use when printing Diagnostics to the standard output.