rust/compiler/rustc_query_system/src
bors d3c9082a44 Auto merge of #120006 - cjgillot:no-hir-owner, r=wesleywiser
Get rid of the hir_owner query.

This query was meant as a firewall between `hir_owner_nodes` which is supposed to change often, and the queries that only depend on the item signature. That firewall was inefficient, leaking the contents of the HIR body through `HirId`s.

`hir_owner` incurs a significant cost, as we need to hash HIR twice in multiple modes. This PR proposes to remove it, and simplify the hashing scheme.

For the future, `def_kind`, `def_span`... are much more efficient for incremental decoupling, and should be preferred.
2024-01-19 02:36:13 +00:00
..
dep_graph Inline 2 functions that appear in dep-graph profiles. 2024-01-14 12:57:13 +00:00
ich Simplify BodyId hashing. 2024-01-16 23:52:30 +00:00
query Cache local DefId-keyed queries without hashing 2024-01-15 17:16:45 -05:00
cache.rs Remove a fishy Clone impl 2023-04-04 09:01:44 +00:00
error.rs Stash and cancel cycle errors for auto trait leakage in opaques 2023-10-26 17:58:02 +00:00
lib.rs Rollup merge of #118123 - RalfJung:internal-lib-features, r=compiler-errors 2023-12-05 14:52:41 -05:00
values.rs Value recovery can take the whole CycleError 2024-01-08 20:30:10 +00:00