aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorDaniel McNab <[email protected]>2021-03-08 16:47:40 +0000
committerDaniel McNab <[email protected]>2021-03-08 16:47:40 +0000
commit20007fd3a8aa16bec0c4f9ebc1489c157f846df4 (patch)
tree9bfd0d92b9b1174a93a0595f303a5b7193d1a50b /crates
parentd0a51d710edf5893d1f8ffe58647fd4aa795096c (diff)
Document rustc_private in metadata
Diffstat (limited to 'crates')
-rw-r--r--crates/rust-analyzer/src/config.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs
index 367136702..4417c8d13 100644
--- a/crates/rust-analyzer/src/config.rs
+++ b/crates/rust-analyzer/src/config.rs
@@ -180,7 +180,8 @@ config_data! {
180 runnables_cargoExtraArgs: Vec<String> = "[]", 180 runnables_cargoExtraArgs: Vec<String> = "[]",
181 181
182 /// Path to the rust compiler sources, for usage in rustc_private projects, or "discover" 182 /// Path to the rust compiler sources, for usage in rustc_private projects, or "discover"
183 /// to try to automatically find it. 183 /// to try to automatically find it. Any project which uses rust-analyzer with the rustcPrivate
184 /// crates must set `[package.metadata.rust-analyzer] rustc_private=true` to use it.
184 rustcSource : Option<String> = "null", 185 rustcSource : Option<String> = "null",
185 186
186 /// Additional arguments to `rustfmt`. 187 /// Additional arguments to `rustfmt`.