| commit | 266853ee06cfa320e9566f849b26be88aab2ed20 | [log] [tgz] |
|---|---|---|
| author | bors <bors@rust-lang.org> | Wed Aug 27 01:11:24 2025 +0000 |
| committer | bors <bors@rust-lang.org> | Wed Aug 27 01:11:24 2025 +0000 |
| tree | 8b687c95d6516e09d3de27e46c181f94b1965629 | |
| parent | a40028e287bf51087e8aee9c70a04fa682cae04b [diff] | |
| parent | 7948e960e9663d107b2210db7a7b3d8b4d813e0b [diff] |
Auto merge of #144841 - cjgillot:typeck-no-attrs, r=davidtwco Access less HIR attributes from typeck Typeck relies on attributes to modify its own behaviour. This is a problem, as this means that `typeck(some function)` may depend on the span and doc-comments of many other functions. This PR attempts to reduce such accesses to attributes. This yields to a sizeable perf improvement: https://github.com/rust-lang/rust/pull/144841#issuecomment-3153339771 Fixes https://github.com/rust-lang/rust/issues/124352
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.