summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-07-03 02:06:54 -0400
committerGitHub <noreply@github.com>2022-07-03 15:06:54 +0900
commit77e91025fe374328bd9f63fe50dbc71d68d61c21 (patch)
treed93782951ce43e222e7bad37beec3e425fc5c9ef /src/doc/rustc-dev-guide
parentb35a56170b3a203a28aa3821699ae0e024d0b734 (diff)
downloadrust-77e91025fe374328bd9f63fe50dbc71d68d61c21.tar.gz
rust-77e91025fe374328bd9f63fe50dbc71d68d61c21.zip
Add the config needed to get rust-analyzer working on src/bootstrap (#1381)
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/building/suggested.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/suggested.md b/src/doc/rustc-dev-guide/src/building/suggested.md
index df79aed79f7..84cb4befbe7 100644
--- a/src/doc/rustc-dev-guide/src/building/suggested.md
+++ b/src/doc/rustc-dev-guide/src/building/suggested.md
@@ -46,6 +46,10 @@ you can write: <!-- date: 2022-04 --><!-- the date comment is for the edition be
         "--message-format=json"
     ],
     "rust-analyzer.rustc.source": "./Cargo.toml",
+    "rust-analyzer.linkedProjects": [
+        "Cargo.toml",
+        "src/bootstrap/Cargo.toml"
+    ]
 }
 ```