From b59a0dbf6a808ccba884fbb82ecb320e5bb2a6d1 Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Thu, 22 Oct 2020 19:42:01 +0200 Subject: Add generated diagnostic docs to the manual --- docs/user/manual.adoc | 7 +++++++ 1 file changed, 7 insertions(+) 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. 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 -- cgit v1.2.3