Unnamed repository; edit this file 'description' to name the repository.
Merge #10608
10608: Amend the instruction for rustup. r=lnicola a=jhscheer The current instruction for installation via rustup are misleading. Co-authored-by: Jan Scheer <[email protected]>
bors[bot] 2021-10-22
parent bbbb0e5 · parent 1bfedc3 · commit dc5afb1
-rw-r--r--docs/user/manual.adoc6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc
index 0afca215ec..3bb9c8d8be 100644
--- a/docs/user/manual.adoc
+++ b/docs/user/manual.adoc
@@ -173,9 +173,11 @@ On Unix, running the editor from a shell or changing the `.desktop` file to set
`rust-analyzer` is available in `rustup`, but only in the nightly toolchain:
[source,bash]
----
+----
$ rustup +nightly component add rust-analyzer-preview
----
+----
+
+However, in contrast to `component add clippy` or `component add rustfmt`, this does not actually place a `rust-analyzer` binary in `~/.cargo/bin`, see https://github.com/rust-lang/rustup/issues/2411[this issue].
==== Arch Linux