| commit | bede8182e200378d3db24d9e9b81e37a1fc03115 | [log] [tgz] |
|---|---|---|
| author | bors <bors@rust-lang.org> | Wed Jul 30 21:29:47 2025 +0000 |
| committer | bors <bors@rust-lang.org> | Wed Jul 30 21:29:47 2025 +0000 |
| tree | f25cc050ffe1cd35eb260cc4409c94359f98d9d4 | |
| parent | 0fabf33da0c1425e64fbc162044d1630f2c663ec [diff] | |
| parent | 508861177b73e5e5bd5882c920dde0cc6c650d62 [diff] |
Auto merge of #116316 - cjgillot:incr-privacy, r=petrochenkov Remove eval_always from check_private_in_public. This PR attempts to avoid re-computing `check_private_in_public` query. First by marking the query as non-`eval_always`, and by reducing the amount of accesses to HIR as much as possible. Latest perf https://github.com/rust-lang/rust/pull/116316#issuecomment-3094672105 shows that we manage it. The cost is extra dep-graph bookkeeping.