about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/docs/user
diff options
context:
space:
mode:
authorTavo Annus <tavo.annus@gmail.com>2024-06-29 12:24:08 +0300
committerTavo Annus <tavo.annus@gmail.com>2024-06-29 12:24:08 +0300
commit8fd7ae975973fcee75b4bc978b20e045c4fe5177 (patch)
tree8d1326103d3473a3203210afba5d0a5e0d8a8eab /src/tools/rust-analyzer/docs/user
parentfde55648116f75eb44340047d48a191d0660a403 (diff)
downloadrust-8fd7ae975973fcee75b4bc978b20e045c4fe5177.tar.gz
rust-8fd7ae975973fcee75b4bc978b20e045c4fe5177.zip
Make borrow checking configurable for term search
Diffstat (limited to 'src/tools/rust-analyzer/docs/user')
-rw-r--r--src/tools/rust-analyzer/docs/user/generated_config.adoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/docs/user/generated_config.adoc b/src/tools/rust-analyzer/docs/user/generated_config.adoc
index 81f30dc56e1..25d94306215 100644
--- a/src/tools/rust-analyzer/docs/user/generated_config.adoc
+++ b/src/tools/rust-analyzer/docs/user/generated_config.adoc
@@ -9,6 +9,11 @@ for enum variants.
 --
 Placeholder expression to use for missing expressions in assists.
 --
+[[rust-analyzer.assist.termSearch.borrowcheck]]rust-analyzer.assist.termSearch.borrowcheck (default: `true`)::
++
+--
+Enable borrow checking for term search code assists. If set to false, also there will be more suggestions, but some of them may not borrow-check.
+--
 [[rust-analyzer.assist.termSearch.fuel]]rust-analyzer.assist.termSearch.fuel (default: `1800`)::
 +
 --