mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-19 10:49:25 +00:00
Add generated diagnostic docs to the manual
This commit is contained in:
@@ -366,6 +366,13 @@ Cursor position or selection is signified by `┃` character.
|
||||
|
||||
include::./generated_assists.adoc[]
|
||||
|
||||
== Diagnostics
|
||||
|
||||
While most errors and warnings provided by rust-analyzer come from the `cargo check` integration, there's a growing number of diagnostics implemented using rust-analyzer's own analysis.
|
||||
These diagnostics don't respect `#[allow]` or `#[deny]` attributes yet, but can be turned off using the `rust-analyzer.diagnostics.enable`, `rust-analyzer.diagnostics.enableExperimental` or `rust-analyzer.diagnostics.disabled` settings.
|
||||
|
||||
include::./generated_diagnostic.adoc[]
|
||||
|
||||
== Editor Features
|
||||
=== VS Code
|
||||
|
||||
|
||||
Reference in New Issue
Block a user