Skip to content

Commit d9c43b1

Browse files
committed
Auto merge of rust-lang#15234 - alibektas:14882, r=alibektas
Remind user to check $PATH after installation. fixes rust-lang#14882 . I don't think that this is the correct wording to express this but I at least wanted to take the initiative :)
2 parents db0add1 + 2e5d431 commit d9c43b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/user/manual.adoc

+3
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ If you're not using Code, you can compile and install only the LSP server:
141141
$ cargo xtask install --server
142142
----
143143

144+
Make sure that `.cargo/bin` is in `$PATH` and precedes paths where `rust-analyzer` may also be installed.
145+
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.
146+
144147
=== rust-analyzer Language Server Binary
145148

146149
Other editors generally require the `rust-analyzer` binary to be in `$PATH`.

0 commit comments

Comments
 (0)