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.
This commit is contained in:
commit
606dcc0d2e
1 changed files with 0 additions and 1 deletions
|
|
@ -1391,7 +1391,6 @@ rustc_queries! {
|
|||
desc { "checking effective visibilities" }
|
||||
}
|
||||
query check_private_in_public(_: ()) {
|
||||
eval_always
|
||||
desc { "checking for private elements in public interfaces" }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue