rust-lang /rust-analyzer
A Rust compiler front-end for IDEs
★ 16,998⑂ 2,291👁 89⑃ 13,543● 9,856▤ 366
More from this author
+4
Daily
16,998
stars
2,291
forks
89
watchers
13,543
prs
9,856
issues
366
releases
README
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). Internally, rust-analyzer is structured as a set of libraries for analyzing Rust code. See Architecture in the manual. Quick Start https://rust-analyzer.github.io/book/installation.html Documentation If you want to contribute to rust-analyzer check out the CONTRIBUTING.md or if you are just curious about how things work under the hood, see the Contributing section of the manual. If you want to use rust-analyzer's language server with your editor of choice, check the manual. It also contains some tips & tricks to help you be more productive when using rust-analyzer. Security and Privacy See the security and privacy sections of the manual. Communication For usage and troubleshooting requests, please use "IDEs and Editors" category of the Rust forum: https://users.rust-lang.org/c/ide/14 For questions about development and implementation, join rust-analyzer working group on Zulip: https://rust-lang.zulipchat.com/narrow/stream/185405-t-compiler.2Frust-analyzer Quick Links Website: https://rust-analyzer.github.io/ Metrics: https://rust-analyzer.github.io/metrics/ API docs: https://rust-lang.github.io/rust-analyzer/ide/ Changelog: https://rust-analyzer.github.io/thisweek License rust-analyzer is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0). See LICENSE-APACHE and LICENSE-MIT for details.
Top issues
#17289Invalid offset -32603 when editing an empty .rs file68 comments · 2024-05-24#4604Announcements: Client Changes68 comments · 2020-05-25#1650improve latency of goto definition48 comments · 2019-08-04#13529rust-analyzer.toml44 comments · 2022-11-02#22140Address FIXMEs for adding diagnostics43 comments · 2026-04-22#13446Deeper rust-analyzer Integration with Non-Cargo Build Systems39 comments · 2022-10-20#8696rust-analyzer reader-mode37 comments · 2021-04-30#19709spurious diagnostic: Variable `None` should have snake_case name36 comments · 2025-04-28
Discussions
#23559Any proper way to disable auto downloads of crates3 comments · 2026-10-24#23546Is it a bug of rust-analyzer?2 comments · 2026-10-22#23223Disabling cache priming by default1 comments · 2026-08-24#23195`nonstandard_style` warnings on `r#{keyword}` identifier contain incorrect rename quick fixes that do not even work2 comments · 2026-08-19#22650The plugin is missing the walkthrough-create-project.md file?0 comments · 2026-06-27#22490How can i fix completion of Vec?2 comments · 2026-05-30#22475Is it a design when parsing a C to Rust crate?3 comments · 2026-05-28#22421Does flycheck ignore `rust-analyzer.check.workspace`?1 comments · 2026-05-22
Latest release
2026-11-09 2026-11-09 2026-11-09Commit: e5e7830 \ Release: 2026-11-09 (v0.3.3113) New Features - 23600 (first contribution) add option to only show implicit drop hints for types with drop glue. - 23558 (first contribution) remove the "Create Rust Project" button from the welcome view. - 23583, 23589, 23619 add invalid-pat-path-res, match-inherited-imm-ref-with-mut-ref-pat and unresolved-associated-type diagnostics. - 21392 enable jemalloc for Linux glibc releases. Performance Improvements - 23591 micro-optimize lang items. Fixes - 23598 (first contribution) match rustc-unicode locations in the problem matcher. - 234