1
Fork 0

Split crate_hash from index_hir.

This commit is contained in:
Camille GILLOT 2021-02-28 18:58:50 +01:00
parent 553004539e
commit 323f5b2ac9
7 changed files with 99 additions and 119 deletions

View file

@ -28,7 +28,7 @@ rustc_queries! {
/// The indexed HIR. This can be conveniently accessed by `tcx.hir()`.
/// Avoid calling this query directly.
query index_hir(_: CrateNum) -> &'tcx map::IndexedHir<'tcx> {
query index_hir(_: CrateNum) -> &'tcx crate::hir::IndexedHir<'tcx> {
eval_always
no_hash
desc { "index HIR" }