Module diag

Source

Re-exports§

pub use compose_codespan_reporting;

Macros§

bail
Early-return with a StrResult or SourceResult.
eco_format
Create a new EcoString from a format string.
error
Construct an EcoString, [HintedString] or SourceDiagnostic with severity Error.
warning
Construct a SourceDiagnostic with severity Warning.

Structs§

EcoString
An economical string with inline storage and clone-on-write semantics.
SourceDiagnostic
Spanned
UnSpanned
Warned

Enums§

FileError
An error that occurred while trying to load of a file.
Severity
TracePoint

Traits§

At
IntoSourceDiagnostic
Trace

Functions§

write_diagnostics

Type Aliases§

FileResult
A result type with a file-related error.
SourceResult
StrResult