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 41fc234ac2
commit 0a8972aeb1

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
}
```