Is there an issue with rust-analyzer in version 1.92?

After updating, I am frequently encountering false positive syntax errors. Consequently, Emacs shows syntax errors, and rustfmt stops working.

Every time this happens, I have to kill eglot and reload it to restore normal function. This is happening much more frequently than before;

I've already had to restart eglot four times in the past hour due to this issue.

  • Can you show an example with a screenshot?
  • Also, what is your rust-analyzer --version?

And possibly check the logs. All these are from FAQ or Troubleshoot.

PS: I do use 1.92, and have not noticed anything wrong.

1 Like

Everything @keyko said, plus: do you have a (preferably minimal) reproduction?

1 Like

Also did you check how other editors behave? Do you have this problems only in emacs, or are they present in other editors as well?

I am using codium and getting a false positive that prevents compilation. Rustc is at 1.92 (rustup updated 2 days ago). The RA plugin is showing versions available up till Feb 2025 (out of date). rust-analyzer --version from the command line says 1.92 (Dec 2025). Someone suggested setting the plugin's server path to use the rustup installed one.While searching, I saw this issue and added this data point.
Update: rust-analyzer works after following these instructions. This fix points to rustup's rust-analyzer, which will update along with rustc.