diff options
| author | bors <bors@rust-lang.org> | 2025-08-27 01:11:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-08-27 01:11:24 +0000 |
| commit | 269d5b56bcfdf2be82213e72ef9a2e4c592a8c6b (patch) | |
| tree | 668c5fc9e17c4d83ef9a4d7e52a6c86a9bd58f00 /compiler/rustc_parse_format/src/lib.rs | |
| parent | 176d8dbce6a7a7a4541d1c980d4a85dfb76ce1f1 (diff) | |
| parent | 6b7f8fbcc584f4dc46081b5c690aeca7def88019 (diff) | |
| download | rust-269d5b56bcfdf2be82213e72ef9a2e4c592a8c6b.tar.gz rust-269d5b56bcfdf2be82213e72ef9a2e4c592a8c6b.zip | |
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
Diffstat (limited to 'compiler/rustc_parse_format/src/lib.rs')
0 files changed, 0 insertions, 0 deletions
