Skip to content

Commit 9be3faf

Browse files
authored
Add rustc-source to suggested rust-analyzer config (#1189)
This allows loading the sources for crates loaded from the sysroot.
1 parent fa6a787 commit 9be3faf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/building/suggested.md

+1
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)