Crate rslint_errors[][src]


pub use file::Span;
pub use termcolor;



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.

A diagnostic message that can give information like errors or warnings.

The emitter is responsible for emitting diagnostics to a given output.

Everything that can be added to a diagnostic, like a suggestion that will be displayed under the actual error.


Indicicates how a tool should manage this suggestion.

A severity level for diagnostic messages.


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