rust-analyzer: Compiler errors not being reported (unless they are syntax errors)
Steps to Reproduce
- Clone https://github.com/conwayste/conwayste
- Checkout commit e07f87b
- Open up
conwayste/src/client.rswith neovim running LanguageClient-neovim - Go to line 283, and insert the line
let () = net_worker;(such that this is the new line 283) - Click Save
Expected Result
An error about type mismatches showing the type of net_worker
Actual Result No errors shown.
Version Info rustc 1.45.2 rust-analyzer 0b2b9a5
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 2
- Comments: 26 (13 by maintainers)
Hi. It appears that
rust-analyzeris working normally for me – I can’t reproduce the bug.Not sure this would be exactly the same root cause. This happens to me as well, but only when I point to anything external in one of the Cargo.toml in the workspace, like:
It works for some time. And then it stops running cargo check at some moment. Restarting vscode would not help. Re-installing rust-analyzer helps for some minutes of work again.