Crate rslint_errors

Source

Re-exports§

pub use file::Span;
pub use termcolor;

Modules§

file

Structs§

CodeSuggestion
A Suggestion that is provided by rslint, and can be reported to the user, and can be automatically applied if it has the right Applicability.
Diagnostic
A diagnostic message that can give information like errors or warnings.
Emitter
The emitter is responsible for emitting diagnostics to a given output.
LongFormatter
ShortFormatter
SubDiagnostic
Everything that can be added to a diagnostic, like a suggestion that will be displayed under the actual error.

Enums§

Applicability
Indicicates how a tool should manage this suggestion.
DiagnosticTag
Severity
A severity level for diagnostic messages.
SuggestionChange
SuggestionStyle

Traits§

Formatter
A trait describing a struct which can render diagnostics to a writer such as stderr.