Rename rustcSource in contributing docs

This commit is contained in:
Guilherme-Vasconcelos 2022-07-12 21:06:10 -03:00 committed by guilherme
parent aa0706bf20
commit b707a23814

View file

@ -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