Skip to content

rust-analyzer 1.85.0 #4723

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
SL-RU opened this issue Mar 2, 2025 · 3 comments
Open
3 tasks done

rust-analyzer 1.85.0 #4723

SL-RU opened this issue Mar 2, 2025 · 3 comments
Labels

Comments

@SL-RU
Copy link

SL-RU commented Mar 2, 2025

Thank you for the bug report

  • I am using the latest version of lsp-mode related packages.
  • I checked FAQ and Troubleshooting sections
  • You may also try reproduce the issue using clean environment using the following command: M-x lsp-start-plain

Bug description

LSP is failng to execute action on autocomplete after rustc and rust-analyzer update to 1.85.0 . Emacs version is 30.1.

In rust you can insert module dependency use line on top of file when clicking in autocomplete menu. But after update it seems to stop working. There is no error on click but there are errors on lsp start, same errors in lsp-start-plain.

Steps to reproduce

Install rust and rust-analyzer 1.85.0 using rustup. Open emacs 30.1 lsp-start-plain, create or open project. Try to type something and autocomplete line that requires import of external module.

Expected behavior

Editor autocompletes line you were typing at and inserts use line on top of the file.

Which Language Server did you use?

Editor autocompletes line you were typing at but doesn't inserts use line on top of the file.

OS

Linux

Error callstack

Error processing message (error "Eager macro-expansion failure: (error \"Unknown lsp-interface pattern: (lsp-interface InlineCompletionList :items)\")"). [3 times]
LSP :: Error from the Language Server: content modified (Unknown error) [2 times]

Anything else?

All other packages are latest version, bytecompile cache removed.

Actions work normally

@SL-RU SL-RU added the bug label Mar 2, 2025
@SL-RU
Copy link
Author

SL-RU commented Mar 6, 2025

It partially works on commit: ac71048270a7845ec89998516d9f7908e915a57c

@SL-RU
Copy link
Author

SL-RU commented Mar 18, 2025

Is this problem only in my setup? Or others have that problem too?

@muhuk
Copy link

muhuk commented Mar 18, 2025

I have the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants