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
A common error found while using emacs + lsp-mode + rust-analyzer is
that on startup I receive the following logs:
```
LSP :: Error from the Language Server: waiting for cargo metadata or
cargo check (Unknown error) [4 times]
```
This looks similar to rust-lang#10910, and as some people mention, everything
works well once `cargo metadata` finishes running.
I stumbled accross a [helpful
comment](https://github.com/rust-lang/rust-analyzer/blob/d382e24a11c8706b201c8437894506d191691334/crates/rust-analyzer/src/main_loop.rs#L567-L568)
which made me think that it might be worth waiting for startup to
finish, before attempting to respond to LSP requests.
0 commit comments