Skip to content

Commit b59a0db

Browse files
committed
Add generated diagnostic docs to the manual
1 parent 31db677 commit b59a0db

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/user/manual.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,13 @@ Cursor position or selection is signified by `┃` character.
366366

367367
include::./generated_assists.adoc[]
368368

369+
== Diagnostics
370+
371+
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.
372+
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.
373+
374+
include::./generated_diagnostic.adoc[]
375+
369376
== Editor Features
370377
=== VS Code
371378

0 commit comments

Comments
 (0)