Improve rust-analyzer configuration

This commit is contained in:
bjorn3 2020-09-22 12:36:03 +02:00
parent 1add4323cf
commit cb3101d178

View File

@ -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": [
"./Cargo.toml",
//"./build_sysroot/sysroot_src/src/libstd/Cargo.toml",