Skip to content

Commit

Permalink
Don't hash thir_body
Browse files Browse the repository at this point in the history
  • Loading branch information
LeSeulArtichaut committed May 26, 2021
1 parent 9a700d2 commit fdc15ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_middle/src/query/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()) }
}

Expand Down

0 comments on commit fdc15ef

Please sign in to comment.