Closed ChayimFriedman2 closed 5 days ago
Ouch, this might warrant another beta backport.
I'm not sure how to test this since that require an entire operating r-a, since the functionality is in the rust-analyzer crate.
crates/rust-analyzer/slow-tests
is a good spot to test protocol-level interactions like these!
They were converted to LSP position using the current file's line index, which is obviously wrong.
I'm not sure how to test this since that require an entire operating r-a, since the functionality is in the rust-analyzer crate. I verified manually that this works.
The problem was introduced in #18404. Oopsie :)
Fixes #18513.