Module cli

Source
Expand description

Utilities for console printing of diagnostics.

Structs§

Annotation
An annotation providing additional information or help regarding a diagnostic
Change
A suggested change in code
Diagnostic
A diagnostic
DiagnosticData
The data used to construct a diagnostic.
Fix
A suggested fix for a diagnostic

Enums§

AnnotationKind
The kind of an annotation
DiagnosticKind
The kind of a diagnostic

Functions§

get_color
Get the terminal color for the given diagnostic kind.