Module components

Source
Expand description

‘components.rs’ defines all components with style DiagnosticStyle that builtin in compiler_base_error.

Structs§

CodeSnippet
CodeSnippet is a component of diagnostic to display code snippets.
UnderLine
UnderLine is a component of diagnostic to display an underline.

Enums§

Label
Label can be considered as a component of diagnostic to display a short label message in Diagnositc. Label provides “error”, “warning”, “note” and “Help” four kinds of labels.