Don't hash thir_body

This commit is contained in:
LeSeulArtichaut 2021-05-26 22:34:42 +02:00
parent 9a700d2947
commit fdc15ef823

View file

@ -222,6 +222,7 @@ rustc_queries! {
/// Fetch the THIR for a given body. If typeck for that body failed, returns an empty `Thir`. /// Fetch the THIR for a given body. If typeck for that body failed, returns an empty `Thir`.
query thir_body(key: ty::WithOptConstParam<LocalDefId>) -> (&'tcx Steal<thir::Thir<'tcx>>, thir::ExprId) { query thir_body(key: ty::WithOptConstParam<LocalDefId>) -> (&'tcx Steal<thir::Thir<'tcx>>, thir::ExprId) {
no_hash
desc { |tcx| "building THIR for `{}`", tcx.def_path_str(key.did.to_def_id()) } desc { |tcx| "building THIR for `{}`", tcx.def_path_str(key.did.to_def_id()) }
} }