Skip to main content

Module flycheck

Module flycheck 

Source
Expand description

Flycheck provides the functionality needed to run cargo check to provide LSP diagnostics based on the output of the command.

StructsΒ§

CargoOptions πŸ”’
Data needed to construct a cargo command invocation, e.g. for flycheck or running a test.
CheckParser πŸ”’
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
FlycheckActor πŸ”’
A FlycheckActor is a single check instance of a workspace.
FlycheckConfigJson πŸ”’
The flycheck config from a rust-project.json file or discoverConfig JSON output.
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.
Substitutions πŸ”’

EnumsΒ§

Applicability πŸ”’
Whether a suggestion can be safely applied.
CheckMessage πŸ”’
ClearDiagnosticsKind πŸ”’
ClearScope πŸ”’
DiagnosticLevel πŸ”’
The diagnostic level
DiagnosticsReceived πŸ”’
Event πŸ”’
FlycheckCommandOrigin πŸ”’
FlycheckConfig πŸ”’
The flycheck config from rust-analyzer’s own configuration.
FlycheckMessage πŸ”’
FlycheckScope πŸ”’
InvocationStrategy πŸ”’
JsonMessage πŸ”’
PackageSpecifier πŸ”’
Progress πŸ”’
StateChange πŸ”’
Target πŸ”’

ConstantsΒ§

LABEL_INLINE πŸ”’
SAVED_FILE_INLINE πŸ”’
SAVED_FILE_PLACEHOLDER_DOLLAR πŸ”’
This is stable behaviour. Don’t change.