Closed erikschul closed 4 months ago
I would need steps to reproduce the issue (to fix). Decorations usually follow errors properly.
@erikschul I believe this is a rust-analyzer issue. This happens when rust-analyzer executes cargo check
and reports the errors in the UI. Then, when editing the file, rust-analyzer only has the old cargo check
results to work with.
After editing a document, the errors will still show on the previous line number, instead of moving.
Would it be possible to detect line changes and shift the errors?
Example: before
Example: after Expected: error should show on line 17