diff options
author | Florian Diebold <[email protected]> | 2020-10-22 18:42:01 +0100 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2020-10-22 18:42:01 +0100 |
commit | b59a0dbf6a808ccba884fbb82ecb320e5bb2a6d1 (patch) | |
tree | 0654f834fd932c6eaa77fd431dcd19dc67b229bd /docs | |
parent | 31db677a948cfad7c0651fb3cd45a2cf577bb95f (diff) |
Add generated diagnostic docs to the manual
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/manual.adoc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index 7e8adcdb7..b9d907a4a 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc | |||
@@ -366,6 +366,13 @@ Cursor position or selection is signified by `┃` character. | |||
366 | 366 | ||
367 | include::./generated_assists.adoc[] | 367 | include::./generated_assists.adoc[] |
368 | 368 | ||
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 | |||
369 | == Editor Features | 376 | == Editor Features |
370 | === VS Code | 377 | === VS Code |
371 | 378 | ||