bors 7849e3e9dd Auto merge of #88435 - cjgillot:no-walk-crate, r=Aaron1011
Avoid invoking the hir_crate query to traverse the HIR

Walking the HIR tree is done using the `hir_crate` query. However, this is unnecessary, since `hir_owner(CRATE_DEF_ID)` provides the same information. Since depending on `hir_crate` forces dependents to always be executed, this leads to unnecessary work.

By splitting HIR and attributes visits, we can avoid an edge to `hir_crate` when trying to visit the HIR tree.
2021-09-05 21:40:34 +00:00
..
2021-03-26 09:32:31 -07:00
2021-09-02 19:23:11 +02:00
2021-08-28 00:16:34 -07:00
2021-09-02 19:23:11 +02:00
2021-09-02 19:08:58 +02:00
2021-09-02 19:23:11 +02:00