blob: 60685c98da711faa2ad8a9f2437a68fb90b7132d [file] [log] [blame] [view] [edit]
# Diagnostics
While most errors and warnings provided by rust-analyzer come from the
`cargo check` integration, theres a growing number of diagnostics
implemented using rust-analyzers own analysis. Some of these
diagnostics dont respect `#[allow]` or `#[deny]` attributes yet, but
can be turned off using the `rust-analyzer.diagnostics.enable`,
`rust-analyzer.diagnostics.experimental.enable` or
`rust-analyzer.diagnostics.disabled` settings.
## Clippy
To run `cargo clippy` instead of `cargo check`, you can set
`"rust-analyzer.check.command": "clippy"`.
{{#include diagnostics_generated.md:2:}}