Expand description
Flycheck provides the functionality needed to run cargo check to provide
LSP diagnostics based on the output of the command.
StructsΒ§
- Cargo
Options π - Data needed to construct a
cargocommand invocation, e.g. for flycheck or running a test. - Check
Parser π - 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
- Flycheck
Actor π - A
FlycheckActoris a single check instance of a workspace. - Flycheck
Config πJson - The flycheck config from a rust-project.json file or discoverConfig JSON output.
- 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. - Substitutions π
EnumsΒ§
- Applicability π
- Whether a suggestion can be safely applied.
- Check
Message π - Clear
Diagnostics πKind - Clear
Scope π - Diagnostic
Level π - The diagnostic level
- Diagnostics
Received π - Event π
- Flycheck
Command πOrigin - Flycheck
Config π - The flycheck config from rust-analyzerβs own configuration.
- Flycheck
Message π - Flycheck
Scope π - Invocation
Strategy π - Json
Message π - Package
Specifier π - Progress π
- State
Change π - Target π
ConstantsΒ§
- LABEL_
INLINE π - SAVED_
FILE_ πINLINE - SAVED_
FILE_ πPLACEHOLDER_ DOLLAR - This is stable behaviour. Donβt change.