I recently installed the latest version of emacs and Rust-analyzer, and downloaded the lsp-mode package as well, but when I activate the rust-analyzer with the "lsp" command it simply returns an error saying that the rust-analyzer keep loading

enter image description here

  • Please elaborate about what you did - provide a recipe, starting from emacs -Q (no init file). And set debug-on-error to non-nil and show the backtrace when the error is raised. The question isn't clear, so far - we have to guess what you did and what you saw at each step.
    – Drew
    Feb 3, 2021 at 3:26

1 Answer 1


rust-analyzer can take a while to index and load a project. You should still be fine, even if the text in the minibuffer doesn't immediately change. Try using e.g. the auto completion and see if it works.

If you want to test a prebuilt config, I recently written a guide to setup Emacs for Rust and it has a repo with an example config that you can run as-is. This was tested with Emacs 27.1, MacOS, Win 10, and Ubuntu.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.