about summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorAdam Sandberg Ericsson <adam@sandbergericsson.se>2023-05-13 15:12:32 +0100
committerAdam Sandberg Ericsson <adam@sandbergericsson.se>2023-08-08 14:28:35 +0200
commit9cb1f45e6f1aedddb475aa61a7bebd9fb26cc094 (patch)
treed59e56947e9c0fd193b968cc9324b4a76b64f1b1 /docs
parentcabe26c228b1e286d25f025603f2a5dcb45fe9ad (diff)
downloadrust-9cb1f45e6f1aedddb475aa61a7bebd9fb26cc094.tar.gz
rust-9cb1f45e6f1aedddb475aa61a7bebd9fb26cc094.zip
add check.ignore to list cargo check diagnostics to ignore (dead_code, unused_imports, ...)
fixes #14798
Diffstat (limited to 'docs')
-rw-r--r--docs/user/generated_config.adoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc
index ea00c9540ff..820535cc1b0 100644
--- a/docs/user/generated_config.adoc
+++ b/docs/user/generated_config.adoc
@@ -161,6 +161,13 @@ List of features to activate. Defaults to
 
 Set to `"all"` to pass `--all-features` to Cargo.
 --
+[[rust-analyzer.check.ignore]]rust-analyzer.check.ignore (default: `[]`)::
++
+--
+List of `cargo check` (or other command specified in `check.command`) diagnostics to ignore.
+
+For example for `cargo check`: `dead_code`, `unused_imports`, `unused_variables`,...
+--
 [[rust-analyzer.check.invocationLocation]]rust-analyzer.check.invocationLocation (default: `"workspace"`)::
 +
 --