Improve rust-analyzer configuration
This commit is contained in:
parent
1add4323cf
commit
cb3101d178
1 changed files with 3 additions and 0 deletions
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
|
@ -1,4 +1,7 @@
|
||||||
{
|
{
|
||||||
|
// source for rustc_* is not included in the rust-src component; disable the errors about this
|
||||||
|
"rust-analyzer.diagnostics.disabled": ["unresolved-extern-crate"],
|
||||||
|
"rust-analyzer.cargo.loadOutDirsFromCheck": true,
|
||||||
"rust-analyzer.linkedProjects": [
|
"rust-analyzer.linkedProjects": [
|
||||||
"./Cargo.toml",
|
"./Cargo.toml",
|
||||||
//"./build_sysroot/sysroot_src/src/libstd/Cargo.toml",
|
//"./build_sysroot/sysroot_src/src/libstd/Cargo.toml",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue