Describe the bug
Diagnostics linger when they should be cleaned up when files
To Reproduce
Steps to reproduce the behavior:
- Write an error to a file
- Delete or rename the file
- Notice the diagnostic still exists in the collection
- Clicking the link brings up an error editor
Expected behavior
Diagostics are cleaned up. SourceKit-LSP may send a new diagnostic for the new file if it was moved.
Environment
All
Additional context
N/A