Closed
Description
While writing some rust, I restarted the language server with the "Rust Analyzer: Restart server" action and encountered a bug.
My "workflow" to reproduce:
- Restart r-a server
- Comment out a line
- Save file
- Uncomment same line
The bug is reproducible for me 100% of the time, even when I wait longer after restarting the language server.
Restarting the server multiple times increases the number of inlay hints multiple times (also seen in gif).
rust-analyzer version: 0.4.1132-standalone (567a5e9 2022-07-18)
rustc version: rustc 1.62.0 (a8314ef7d 2022-06-27)
PS: When using the "Developer: Reload window" action, the inlay hints don't show up at all unless I change something in the file (with or without saving it). If you think that is worth another issue, I can file one for that as well.