From 9be3fafda6c536d0ed1547ee1fb736b9b2419ce4 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Tue, 31 Aug 2021 12:13:18 -0500 Subject: [PATCH] Add rustc-source to suggested rust-analyzer config (#1189) This allows loading the sources for crates loaded from the sysroot. --- src/building/suggested.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/building/suggested.md b/src/building/suggested.md index bb6badcd6..e544a68b8 100644 --- a/src/building/suggested.md +++ b/src/building/suggested.md @@ -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 } ```