You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It’s probably part of this PR/discussion #1740, which iirc didn’t get merged because the parsing/matching was too brittle and dependant on RA unspecified implementations that could change version to version
Thank you for the bug report
lsp-mode
related packages.M-x lsp-start-plain
Bug description
Putting the cursor on a rust variable shows the type in the minibuffer:
Recently this stopped working correctly for some types:
When I run
lsp-describe-thing-at-point
on this problematic type I see 2 lines:My understanding is that only the first line is shown in the minibuffer.
Steps to reproduce
cargo init --name main
to create a dummy projectopen
main.rs
with emacsanswer
i
to the prompt that offers to import the project rootAdd an
let i = 0;
line in the code.Put the cursor on
i
and witness the problem in the minibufferExpected behavior
The type of the variable should be shown
Which Language Server did you use?
emacs
GNU Emacs 29.3
RA
rust-analyzer 0.3.1932-standalone (47a901b9b 2024-04-21)
lsp-mode
OS
MacOS
Error callstack
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: