Document rustc_private in metadata

This commit is contained in:
Daniel McNab 2021-03-08 16:47:40 +00:00
parent d0a51d710e
commit 20007fd3a8
3 changed files with 4 additions and 3 deletions

View file

@ -180,7 +180,8 @@ config_data! {
runnables_cargoExtraArgs: Vec<String> = "[]",
/// Path to the rust compiler sources, for usage in rustc_private projects, or "discover"
/// to try to automatically find it.
/// 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<String> = "null",
/// Additional arguments to `rustfmt`.