| commit | f06a604c988d0c740f63613fcf67b8e40eed6ff7 | [log] [tgz] |
|---|---|---|
| author | bors <bors@rust-lang.org> | Tue Aug 05 18:10:21 2025 +0000 |
| committer | bors <bors@rust-lang.org> | Tue Aug 05 18:10:21 2025 +0000 |
| tree | cf4651ad03aeb185d118e5e2ff6870a6461303b9 | |
| parent | b9a80daac265e1a9a36747bbe971d1f3d085d370 [diff] | |
| parent | 7948e960e9663d107b2210db7a7b3d8b4d813e0b [diff] |
Auto merge of #144863 - cjgillot:live-or-dead, r=Urgau Simplify dead code lint This PR scratches a few itches I had when looking at that code. The perf improvement comes from keeping the `scanned` set through several marking phases. This pretty much divides by 2 the number of HIR traversals.
rust-analyzer is a modular compiler frontend for the Rust language. It is a part of a larger rls-2.0 effort to create excellent IDE support for Rust.
https://rust-analyzer.github.io/book/installation.html
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.
See the security and privacy sections of the manual.
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
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.