1
Fork 0

Enable tracing for all queryies

This commit is contained in:
Oli Scherer 2022-05-04 08:30:13 +00:00
parent 9add63257b
commit 0d5a738b8b
4 changed files with 6 additions and 1 deletions

View file

@ -675,6 +675,7 @@ where
}
}
#[derive(Debug)]
pub enum QueryMode {
Get,
Ensure,
@ -697,7 +698,6 @@ where
None
};
debug!("ty::query::get_query<{}>(key={:?}, span={:?})", Q::NAME, key, span);
let (result, dep_node_index) = try_execute_query(
tcx,
Q::query_state(tcx),