aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/rust-analyzer/src/config.rs10
1 files changed, 7 insertions, 3 deletions
diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs
index 078c83f75..28e221271 100644
--- a/crates/rust-analyzer/src/config.rs
+++ b/crates/rust-analyzer/src/config.rs
@@ -180,10 +180,14 @@ config_data! {
180 /// tests or binaries.\nFor example, it may be `--release`. 180 /// tests or binaries.\nFor example, it may be `--release`.
181 runnables_cargoExtraArgs: Vec<String> = "[]", 181 runnables_cargoExtraArgs: Vec<String> = "[]",
182 182
183 /// Path to the rust compiler sources, for usage in rustc_private projects, or "discover" 183 /// Path to the Cargo.toml of the rust compiler workspace, for usage in rustc_private
184 /// to try to automatically find it. Any project which uses rust-analyzer with the rustcPrivate 184 /// projects, or "discover" to try to automatically find it.
185 ///
186 /// Any project which uses rust-analyzer with the rustcPrivate
185 /// crates must set `[package.metadata.rust-analyzer] rustc_private=true` to use it. 187 /// crates must set `[package.metadata.rust-analyzer] rustc_private=true` to use it.
186 rustcSource : Option<String> = "null", 188 ///
189 /// This option is not reloaded automatically; you must restart rust-analyzer for it to take effect.
190 rustcSource: Option<String> = "null",
187 191
188 /// Additional arguments to `rustfmt`. 192 /// Additional arguments to `rustfmt`.
189 rustfmt_extraArgs: Vec<String> = "[]", 193 rustfmt_extraArgs: Vec<String> = "[]",