LSP Not Updating for Rust #22745
Labels
bug
[core label]
language server
An umbrella label for all language servers
rust
Rust programming language support
upstream
Uh oh!
There was an error while loading. Please reload this page.
Check for existing issues
Describe the bug / provide steps to reproduce it
In a Rust project, when I first load the project in Zed, rust-analyzer perfectly analyzes it and finds no issues or warnings. But, when I start modifying things, it seems to get stuck and not update the analyzer decisions after many updates leaving random red and yellow underlines with incorrect suggestions. Below is a simple example but as more modifications are made, the error compounds:
Before:

After:

Note that this code builds and executes perfectly, and there shouldn't be any syntax errors/warnings. It seems LSP was not updated, or the updates are not populated by the editor.
My editor is set to autosave every 1000ms.
Zed Version and System Specs
Zed: v0.167.2 (Zed)
OS: Linux X11 pop 22.04
Memory: 62.7 GiB
Architecture: x86_64
GPU: NVIDIA GeForce RTX 2080 Ti || NVIDIA || 565.77
If applicable, add screenshots or screencasts of the incorrect state / behavior
Before:

After:

If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: