mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
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 <jhscheer@users.noreply.github.com>
This commit is contained in:
commit
dc5afb1573
1 changed files with 4 additions and 2 deletions
|
@ -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:
|
`rust-analyzer` is available in `rustup`, but only in the nightly toolchain:
|
||||||
|
|
||||||
[source,bash]
|
[source,bash]
|
||||||
---
|
----
|
||||||
$ rustup +nightly component add rust-analyzer-preview
|
$ 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
|
==== Arch Linux
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue