You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://marketplace.visualstudio.com/items?itemName=rust-lang.rust[previous official Rust plugin].
68
+
The latter is no longer maintained and should be uninstalled.
83
69
84
70
The server binary is stored in the extension install directory, which starts with `rust-lang.rust-analyzer-` and is located under:
85
71
@@ -141,6 +127,9 @@ If you're not using Code, you can compile and install only the LSP server:
141
127
$ cargo xtask install --server
142
128
----
143
129
130
+
Make sure that `.cargo/bin` is in `$PATH` and precedes paths where `rust-analyzer` may also be installed.
131
+
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.
132
+
144
133
=== rust-analyzer Language Server Binary
145
134
146
135
Other editors generally require the `rust-analyzer` binary to be in `$PATH`.
* pr:15081[] (first contribution) add a memory layout viewer:
12
+
+
13
+
image::https://user-images.githubusercontent.com/308347/252252339-e394e713-ebb9-4567-9acc-60f4a2a19407.png["Screenshot showing a memory layout view for a struct with `i32`, `u8`, `Vec<bool>` and `usize` fields."]
14
+
* pr:15152[] add `Generate trait from impl` assist:
15
+
+
16
+
image::https://user-images.githubusercontent.com/20956650/249216814-05d4dda5-604a-4108-8b82-9b60bd45894a.gif["Screen recording showing the assist generating a trait from an `impl` block"]
17
+
* pr:14990[] map our diagnostics to the `rustc` and `clippy` ones.
18
+
* pr:15186[] don't add panics to error jump list by default.
19
+
20
+
== Fixes
21
+
22
+
* pr:15118[] (first contribution) follow raw pointers in autoderef chain when resolving methods with custom receiver.
0 commit comments