rust-lang / vscode-rust

Rust extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=rust-lang.rust
Other
1.39k stars 167 forks source link

missing field `position_encoding` in initializer of `ServerCapabilities` #965

Closed alessandro-baldassarre closed 1 year ago

alessandro-baldassarre commented 1 year ago

error during installation of cargo modules:

error[E0063]: missing field position_encoding in initializer of ServerCapabilities

/.cargo/registry/src/github.com-1ecc6299db9ec823/ra_ap_rust-analyzer-0.0.134/src/caps.rs:21:5

lnicola commented 1 year ago

Adding a dependency to lsp-types = "=0.93.1" might fix that, but what exactly are you trying to do?

Also, this is the wrong repo, you want https://github.com/rust-analyzer/rust-analyzer.

alessandro-baldassarre commented 1 year ago

sorry, my bad. I open an issue in the right place