Skip to content

Commit

Permalink
Auto merge of rust-lang#15234 - alibektas:14882, r=alibektas
Browse files Browse the repository at this point in the history
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 :)
  • Loading branch information
bors committed Jul 8, 2023
2 parents db0add1 + 2e5d431 commit d9c43b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/user/manual.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ 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.
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

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

0 comments on commit d9c43b1

Please sign in to comment.