diff --git a/src/librustc/ty/query/mod.rs b/src/librustc/ty/query/mod.rs index 5082bc92664..66c1695087f 100644 --- a/src/librustc/ty/query/mod.rs +++ b/src/librustc/ty/query/mod.rs @@ -228,7 +228,7 @@ /// Fetch the MIR for a given def-id right after it's built - this includes /// unreachable code. - [no_hash] fn mir_built: MirBuilt(DefId) -> &'tcx Steal>, + [] fn mir_built: MirBuilt(DefId) -> &'tcx Steal>, /// Fetch the MIR for a given def-id up till the point where it is /// ready for const evaluation. @@ -240,7 +240,7 @@ /// MIR after our optimization passes have run. This is MIR that is ready /// for codegen. This is also the only query that can fetch non-local MIR, at present. - [] fn optimized_mir: MirOptimized(DefId) -> &'tcx mir::Mir<'tcx>, + [no_hash] fn optimized_mir: MirOptimized(DefId) -> &'tcx mir::Mir<'tcx>, }, TypeChecking {