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§
- Cargo
Options - Cargo
Test Handle - Diagnostic
- A diagnostic message generated by rustc
- Diagnostic
Code - The error code associated to this diagnostic.
- Diagnostic
Span - A section of the source code associated with a Diagnostic
- Diagnostic
Span Macro Expansion - Macro expansion information associated with a diagnostic.
- Flycheck
Handle - 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.
- Cargo
Test Message - Diagnostic
Level - The diagnostic level
- Flycheck
Config - Invocation
Location - Invocation
Strategy - Message
- Progress
- Test
State - Test
Target