about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-15 16:04:30 +0000
committerbors <bors@rust-lang.org>2022-07-15 16:04:30 +0000
commitb1e2578f83179ad95276b3f413d9d16186f2d7a2 (patch)
tree7834f4e90d3444522ef9891461f039e8eb9bd0a3
parentaa0706bf20bd6f647c0132e0779e99b7c11208df (diff)
parentb707a238148a144217b211d25d643cb596a4753b (diff)
downloadrust-b1e2578f83179ad95276b3f413d9d16186f2d7a2.tar.gz
rust-b1e2578f83179ad95276b3f413d9d16186f2d7a2.zip
Auto merge of #9172 - Guilherme-Vasconcelos:master, r=flip1995
Rename rustcSource in contributing documentation

According to [rust-analyzer docs](https://rust-analyzer.github.io/manual.html#toolchain:~:text=rust%2Danalyzer.rustc.source), rustcSource has been renamed to rustc.source.

changelog: none
-rw-r--r--CONTRIBUTING.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 56cb5a1538c..6e15133d267 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -114,11 +114,11 @@ As of [#6869][6869], [`rust-analyzer`][ra_homepage] can understand that Clippy u
 using `extern crate` when `package.metadata.rust-analyzer.rustc_private` is set to `true` in Clippy's `Cargo.toml.`
 You will require a `nightly` toolchain with the `rustc-dev` component installed.
 Make sure that in the `rust-analyzer` configuration, you set
-```
-{ "rust-analyzer.rustcSource": "discover" }
+```json
+{ "rust-analyzer.rustc.source": "discover" }
 ```
 and
-```
+```json
 { "rust-analyzer.updates.channel": "nightly" }
 ```
 You should be able to see information on things like `Expr` or `EarlyContext` now if you hover them, also