Skip to main content

Module prelude

Module prelude 

Source

Structs§

Diagnostic
A structured diagnostic data value.
DiagnosticCode
A stable string identifier for a diagnostic.
DiagnosticLabel
Renderer-neutral context attached to a diagnostic.
DiagnosticLevelParseError
Error returned when parsing a diagnostic level fails.
DiagnosticMessage
A human-facing diagnostic message.
DiagnosticNote
Additional plain-text context attached to a diagnostic.
DiagnosticPosition
A 1-based line and column position.
DiagnosticReport
An insertion-order collection of diagnostics.
DiagnosticSourceId
A stable identifier for a source, file, buffer, document, or virtual source.
DiagnosticSpan
A generic source span with optional source identity.

Enums§

DiagnosticCodeError
Errors returned while constructing a DiagnosticCode.
DiagnosticLabelKind
The role of a diagnostic label.
DiagnosticLevel
The severity level of a diagnostic.
DiagnosticPositionError
Errors returned while constructing a DiagnosticPosition.
DiagnosticSourceIdError
Errors returned while constructing a DiagnosticSourceId.
DiagnosticSpanError
Errors returned while constructing a DiagnosticSpan.
DiagnosticTextError
Errors returned while constructing diagnostic text primitives.