From de11273857ea0fef4d098290fbc7c12a8b25b743 Mon Sep 17 00:00:00 2001 From: Remo Senekowitsch Date: Sun, 2 Feb 2025 02:43:20 +0100 Subject: [PATCH] Document installation of rust-analyzer via rustup (#12618) --- docs/CONTRIBUTING.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index df33d6e52c25..efb3971694dd 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -15,6 +15,8 @@ Some suggestions to get started: - If your preferred language is missing, integrating a tree-sitter grammar for it and defining syntax highlight queries for it is straight forward and doesn't require much knowledge of the internals. +- If you don't use the Nix development shell and are getting your rust-analyzer binary from rustup, you may need to run `rustup component add rust-analyzer`. + This is because `rust-toolchain.toml` selects our MSRV for the development toolchain but doesn't download the matching rust-analyzer automatically. We provide an [architecture.md][architecture.md] that should give you a good overview of the internals.