Add rustc-source to suggested rust-analyzer config (#1189)

This allows loading the sources for crates loaded from the sysroot.
This commit is contained in:
Joshua Nelson 2021-08-31 12:13:18 -05:00 committed by GitHub
parent fa6a787cfd
commit 9be3fafda6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ you can write:
],
"editor.formatOnSave": true,
"rust-analyzer.cargo.runBuildScripts": false,
"rust-analyzer.rustcSource": "./Cargo.toml",
"rust-analyzer.procMacro.enable": false
}
```