Skip to content

Commit

Permalink
Add rustc-source to suggested rust-analyzer config (#1189)
Browse files Browse the repository at this point in the history
This allows loading the sources for crates loaded from the sysroot.
  • Loading branch information
jyn514 committed Aug 31, 2021
1 parent fa6a787 commit 9be3faf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/building/suggested.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
```
Expand Down

0 comments on commit 9be3faf

Please sign in to comment.