From 655dd188d6b8b43e4f3b1a7e3503af77d25bea63 Mon Sep 17 00:00:00 2001 From: Ali Bektas Date: Sat, 8 Jul 2023 11:59:46 +0200 Subject: [PATCH 1/2] Remind user to check $PATH after installation. --- docs/user/manual.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index bd924031e03..bcaebd87c79 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc @@ -141,6 +141,8 @@ If you're not using Code, you can compile and install only the LSP server: $ cargo xtask install --server ---- +Make sure that `.cargo/bin` is in `$PATH` and precedes paths where `rust-analyzer` may also be installed. + === rust-analyzer Language Server Binary Other editors generally require the `rust-analyzer` binary to be in `$PATH`. From 2e5d431dfcb5402e438c71a28895f9def0084129 Mon Sep 17 00:00:00 2001 From: Ali Bektas Date: Sat, 8 Jul 2023 16:15:08 +0200 Subject: [PATCH 2/2] Update docs/user/manual.adoc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Laurențiu Nicola --- docs/user/manual.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index bcaebd87c79..b23c7c35d5d 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc @@ -142,6 +142,7 @@ $ cargo xtask install --server ---- Make sure that `.cargo/bin` is in `$PATH` and precedes paths where `rust-analyzer` may also be installed. +Specifically, `rustup` includes a proxy called `rust-analyzer`, which can cause problems if you're planning to use a source build or even a downloaded binary. === rust-analyzer Language Server Binary