Skip to content

LSP Error on startup #11

Description

@worikgh

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions