diff options
| author | LeSeulArtichaut <leseulartichaut@gmail.com> | 2021-05-26 22:34:42 +0200 |
|---|---|---|
| committer | LeSeulArtichaut <leseulartichaut@gmail.com> | 2021-05-26 22:34:42 +0200 |
| commit | fdc15ef823bcd46798984c143ca436c9e9ae9771 (patch) | |
| tree | 17d98e798739fb6621f3e34fa70a237ed35b69a8 /compiler/rustc_middle/src/query | |
| parent | 9a700d2947f2d7f97a2c0dfca3117a8dcc255bdd (diff) | |
| download | rust-fdc15ef823bcd46798984c143ca436c9e9ae9771.tar.gz rust-fdc15ef823bcd46798984c143ca436c9e9ae9771.zip | |
Don't hash `thir_body`
Diffstat (limited to 'compiler/rustc_middle/src/query')
| -rw-r--r-- | compiler/rustc_middle/src/query/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs index 9125be33c93..8138eeac3d6 100644 --- a/compiler/rustc_middle/src/query/mod.rs +++ b/compiler/rustc_middle/src/query/mod.rs @@ -222,6 +222,7 @@ rustc_queries! { /// 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) { + no_hash desc { |tcx| "building THIR for `{}`", tcx.def_path_str(key.did.to_def_id()) } } |
