rust-analyzer/crates/rust-analyzer
Wilfred Hughes d993f9d1c9 fix: Report both IO errors and main_loop errors
If rust-analyzer receives a malformed LSP request, the IO thread
terminates with a meaningful error, but then closes the channel.

Once the channel has closed, the main_loop also terminates, but it
only has RecvError and can't show a meaningful error. As a result,
rust-analyzer would incorrectly claim that the client forgot to
shutdown.

```
$ buggy_lsp_client | rust-analyzer
Error: client exited without proper shutdown sequence
```

Instead, include both error messages when the server shuts down.
2024-05-08 16:53:30 -07:00
..
src fix: Report both IO errors and main_loop errors 2024-05-08 16:53:30 -07:00
tests Auto merge of #17025 - lnicola:josh, r=lnicola 2024-04-21 16:39:18 +00:00
build.rs Fix typo in build.rs 2022-06-26 10:09:45 +00:00
Cargo.toml Update rust-analyzer to use windows-sys crate 2024-05-01 09:04:13 -05:00