Skip to content
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

LSP Error on startup #11

Open
worikgh opened this issue Dec 27, 2022 · 1 comment
Open

LSP Error on startup #11

worikgh opened this issue Dec 27, 2022 · 1 comment

Comments

@worikgh
Copy link

worikgh commented Dec 27, 2022

emacs: 30.0.50, packages updated, Raspberry Pi 4

Recreate:

Create a new project
Open the main.rs
LSP :: Error from the Language Server: waiting for cargo metadata or cargo check (Unknown error) [8 times]

More detail:

cd /tmp
cargo new test_issue
emacs -nw -q --load ~/emacs-rust-config/standalone.el /tmp/test_issue/src/main.rs

In the *Messages* buffer the following LSP messages:

LSP :: Connected to [rust-analyzer:11070/starting /tmp/test_issue].
LSP :: rust-analyzer found 1 invalid config value:
/inlayHints/reborrowHints/enable: data did not match any variant of untagged enum ReborrowHintsDef
LSP :: rust-analyzer:11070 initialized successfully in folders: (/tmp/test_issue)
LSP :: Error from the Language Server: waiting for cargo metadata or cargo check (Unknown error) [8 times]

So there is misconfiguration with rust-analyzer. I have not changed any thing there.

@worikgh
Copy link
Author

worikgh commented Dec 27, 2022

This is an issue over at rust-analyzer
rust-lang/rust-analyzer#10910

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

No branches or pull requests

1 participant