aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-03-09 11:22:37 +0000
committerGitHub <[email protected]>2021-03-09 11:22:37 +0000
commit844b7f741171219531d2ea03fd9b14ce26b219c8 (patch)
treea1aeb36c754b8e6ff79367c8fe710bc0c40ff51b /crates
parent297240744d1d55ef5451ed4db3a3f37f8df38380 (diff)
parentc7b0914b3fffc9fd648003c950cfff596c75edbf (diff)
Merge #7927
7927: Add more documentation for rustc_private r=matklad a=jyn514 Co-authored-by: Joshua Nelson <[email protected]>
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> = "[]",