Zombie error messages after deleting the file that was a source of these errors. #7004
Labels
A-diagnostics
diagnostics / error reporting
S-actionable
Someone could pick this issue up and work on it right now
At some moment I had a genuine "Unresolved module" error reported by rust-analyzer in the "PROBLEMS" window for my file with name mod.rs. I was doing "pub mod xyz" where xyz did not exist.
I deleted the mod.rs file, but error stayed in the PROBLEMS pane and tapping on it was producing a message "Unable to open 'mod.rs'. See attached screenshot.
I'm not sure if this is a common problem with errors for a file not being cleared on file deletion or this is just some particular instance I ran into.
Restarting VSCode clears the error.
The text was updated successfully, but these errors were encountered: