Crate error_snippet

Source

Re-exports§

pub use crate::handler::*;
pub use crate::render::*;
pub use crate::source::*;

Modules§

handler
render
source

Structs§

Help
Represents a help message, which can be attached to diagnostics to aid users.
Label
Represents a labelled span of some source code.
SimpleDiagnostic
Diagnostic which can be created at runtime.
SourceLocation
Defines some location with a Source instance.
SourceRange
Defines some span with a Source instance.
SourceWrapped
SpanRange
Defines some span within a Source instance.

Enums§

Severity
Diagnostic severity level.
Suggestion
Represents a suggested fix with a source file attached.

Traits§

Diagnostic
Represents a single diagnostic message, which can be pretty-printed into an intuitive and fancy error message.
IntoDiagnostic
Trait for converting implementations into implementations of Diagnostic.
WithSource

Type Aliases§

Error
Result