Crate ra_ap_flycheck

Source
Expand description

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.

Modules§

project_json
A cargo-metadata-equivalent for non-Cargo build systems.

Structs§

CargoOptions
CargoTestHandle
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.
CargoTestMessage
DiagnosticLevel
The diagnostic level
FlycheckConfig
InvocationLocation
InvocationStrategy
Message
Progress
TestState
TestTarget

Constants§

SAVED_FILE_PLACEHOLDER