Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit cb3101d

Browse files
committed
Improve rust-analyzer configuration
1 parent 1add432 commit cb3101d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
// source for rustc_* is not included in the rust-src component; disable the errors about this
3+
"rust-analyzer.diagnostics.disabled": ["unresolved-extern-crate"],
4+
"rust-analyzer.cargo.loadOutDirsFromCheck": true,
25
"rust-analyzer.linkedProjects": [
36
"./Cargo.toml",
47
//"./build_sysroot/sysroot_src/src/libstd/Cargo.toml",

0 commit comments

Comments
 (0)