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

Commit 0a8972a

Browse files
authored
Add rustc-source to suggested rust-analyzer config (rust-lang#1189)
This allows loading the sources for crates loaded from the sysroot.
1 parent 41fc234 commit 0a8972a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/doc/rustc-dev-guide/src/building/suggested.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ you can write:
3636
],
3737
"editor.formatOnSave": true,
3838
"rust-analyzer.cargo.runBuildScripts": false,
39+
"rust-analyzer.rustcSource": "./Cargo.toml",
3940
"rust-analyzer.procMacro.enable": false
4041
}
4142
```

0 commit comments

Comments
 (0)