[][src]Crate ra_ap_flycheck

Flycheck provides the functionality needed to run cargo check or another compatible command (f.x. clippy) in a background thread and provide LSP diagnostics based on the output of the command.

Structs

Diagnostic

A diagnostic message generated by rustc

DiagnosticCode

The error code associated to this diagnostic.

DiagnosticSpan

A section of the source code associated with a Diagnostic

DiagnosticSpanMacroExpansion

Macro expansion information associated with a diagnostic.

FlycheckHandle

Flycheck wraps the shared state and communication machinery used for running cargo check (or other compatible command) and providing diagnostics based on the output. The spawned thread is shut down when this struct is dropped.

Enums

Applicability

Whether a suggestion can be safely applied.

DiagnosticLevel

The diagnostic level

FlycheckConfig
Message
Progress