# lsp: Do not reuse disk-based diagnostics \(\#46437\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/dd43891521484dc25d520e3c1551d9d211a1f2fa)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: dd43891521484dc25d520e3c1551d9d211a1f2fa

Requested commit: dd43891521484dc25d520e3c1551d9d211a1f2fa

Commit: dd43891521484dc25d520e3c1551d9d211a1f2fa

Tree: 0ff3edd7b2ef7b326c1cf4abddafbe47984f7734

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
lsp: Do not reuse disk-based diagnostics (#46437)

Fixes #41220

Co-authored-by: dino <dinojoaocosta@gmail.com>

Closes #41220

Release Notes:

- Rust: Fixed diagnostics being stale when working across path
dependencies

---------

Co-authored-by: dino <dinojoaocosta@gmail.com>
```

## Parents

- [7142e6a7817a3d88e37b41eaac156d08f6a41d4a](https://git.cafe/gitcafe/zed/commit/7142e6a7817a3d88e37b41eaac156d08f6a41d4a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/dd43891521484dc25d520e3c1551d9d211a1f2fa?format=markdown)
