about summary refs log tree commit diff
path: root/compiler/rustc_ast
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-07-30 21:29:47 +0000
committerbors <bors@rust-lang.org>2025-07-30 21:29:47 +0000
commit606dcc0d2e54d260f67d8a91f8adaf797a4ed38a (patch)
tree97f40b679b68e09b5c095b7526bfb66a8bd8c023 /compiler/rustc_ast
parent3048886e59c94470e726ecaaf2add7242510ac11 (diff)
parenta2320b25533df01d9b96707187b64e03595c9bee (diff)
downloadrust-606dcc0d2e54d260f67d8a91f8adaf797a4ed38a.tar.gz
rust-606dcc0d2e54d260f67d8a91f8adaf797a4ed38a.zip
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.
Diffstat (limited to 'compiler/rustc_ast')
0 files changed, 0 insertions, 0 deletions