From c7b0914b3fffc9fd648003c950cfff596c75edbf Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Mon, 8 Mar 2021 16:56:42 -0500 Subject: Add more documentation for rustc_private --- crates/rust-analyzer/src/config.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'crates') 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! { /// tests or binaries.\nFor example, it may be `--release`. runnables_cargoExtraArgs: Vec = "[]", - /// Path to the rust compiler sources, for usage in rustc_private projects, or "discover" - /// to try to automatically find it. Any project which uses rust-analyzer with the rustcPrivate + /// Path to the Cargo.toml of the rust compiler workspace, for usage in rustc_private + /// projects, or "discover" to try to automatically find it. + /// + /// Any project which uses rust-analyzer with the rustcPrivate /// crates must set `[package.metadata.rust-analyzer] rustc_private=true` to use it. - rustcSource : Option = "null", + /// + /// This option is not reloaded automatically; you must restart rust-analyzer for it to take effect. + rustcSource: Option = "null", /// Additional arguments to `rustfmt`. rustfmt_extraArgs: Vec = "[]", -- cgit v1.2.3