diff options
| author | Tavo Annus <tavo.annus@gmail.com> | 2024-06-29 12:24:08 +0300 |
|---|---|---|
| committer | Tavo Annus <tavo.annus@gmail.com> | 2024-06-29 12:24:08 +0300 |
| commit | 8fd7ae975973fcee75b4bc978b20e045c4fe5177 (patch) | |
| tree | 8d1326103d3473a3203210afba5d0a5e0d8a8eab /src/tools/rust-analyzer/docs/user | |
| parent | fde55648116f75eb44340047d48a191d0660a403 (diff) | |
| download | rust-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.adoc | 5 |
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`):: + -- |
