rust-analyzer

The Rust Project Developers · Rustlang.rust-analyzer

rust-analyzer is a language server that provides IDE functionality for writing Rust programs. You can use it with any editor that supports the Language Server Protocol (VS Code, Vim, Emacs, Zed, etc).

rust-analyzer is a language server that provides IDE functionality for writing Rust programs. You can use it with any editor that supports the Language Server Protocol (VS Code, Vim, Emacs, Zed, etc). rust-analyzer features include go-to-definition, find-all-references, refactorings and code completion. rust-analyzer also supports integrated formatting (with rustfmt) and integrated diagnostics (with rustc and clippy).

winget install --id Rustlang.rust-analyzer --exact --source winget

Latest 2026-06-08

Release Notes

Commit: 7ea2b25 Release: 2026-06-08 (v0.3.2929) New Features

  • #22469 (first contribution) add infer-vars-not-allowed diagnostic.
  • #22512 (first contribution) parse unstable unnamed enum variants.
  • #22448 add "Evaluate Predicate" command: 597728705-8273a170-caa5-4ab9-8f17-a5cd04944f10.mp4
  • #22481 lower field defaults.
  • #22495 use mimalloc for Windows releases.

Fixes

  • #22520 don't emit "type annotations needed" errors on include_bytes!().
  • #22524 parse | pattern types.
  • #22503 try to improve completion ranking.
  • #22457 dereference LHS in assignments instead of adding &mut in type_mismatch quick fix.
  • #22507 hide ra@gennew inhaly hints.
  • #22508 don't add both drop and pin_drop in add_missing_impl_members.
  • #22519 don't add unused generic parameters in generate_trait_from_impl.
  • #22523 handle mutable access better in extract_function.
  • #22506 kill proc-macro-srv processes on shutdown.
  • #22522 fix test runnables in rust-project.json.

Internal Improvements

  • #22510 simplify mir::ProjectionElem and bring it closer the rustc version.
  • #22533 remove AST types from FoldKind.
  • #22528 improve panic message when FileSourceRootInput is missing.

See also the changelog post.

Installer type: zip

Architecture Scope Download SHA256
x86 Download A69398C011946D6D945741063C0681FC0A4AABC093EB96DF5A2B6C123EB8DD27
x64 Download 32341C16667300A6D33DCFC47596C58BF1269D4B8B0714590AF01488EE8B9AF2
arm64 Download 559D41D8F3F18781B4CE9CA75CE723B70FE9B4718C3F1B3D9B8191AC50F0E54C

Details

Homepage
https://rust-analyzer.github.io/
License
Apache-2.0 AND MIT
Publisher
The Rust Project Developers
Support
https://github.com/rust-lang/rust-analyzer/issues
Moniker
rust-analyzer

Tags

lsplsp-serverrustrust-lang

Older versions (1)

2026-06-01
Architecture Scope Download SHA256
x86 Download 1CA0B79C384D5DAE682D122974706A3BBDFDD04982224E80C81EBBE10A754AAA
x64 Download 0C361771BD0D85CF9D2227D726D5C2B3CAB034E1AD7E460F659F38C41D9395E8
arm64 Download 45BF840C0964016E711E2CAFAA52F3525534AC3762729569813240B0B18A058C