Skip to content

Commit 33a9be0

Browse files
committed
Move no_hash from mir_built to optimized_mir
1 parent 0847045 commit 33a9be0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/ty/query/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ define_queries! { <'tcx>
228228

229229
/// Fetch the MIR for a given def-id right after it's built - this includes
230230
/// unreachable code.
231-
[no_hash] fn mir_built: MirBuilt(DefId) -> &'tcx Steal<mir::Mir<'tcx>>,
231+
[] fn mir_built: MirBuilt(DefId) -> &'tcx Steal<mir::Mir<'tcx>>,
232232

233233
/// Fetch the MIR for a given def-id up till the point where it is
234234
/// ready for const evaluation.
@@ -240,7 +240,7 @@ define_queries! { <'tcx>
240240

241241
/// MIR after our optimization passes have run. This is MIR that is ready
242242
/// for codegen. This is also the only query that can fetch non-local MIR, at present.
243-
[] fn optimized_mir: MirOptimized(DefId) -> &'tcx mir::Mir<'tcx>,
243+
[no_hash] fn optimized_mir: MirOptimized(DefId) -> &'tcx mir::Mir<'tcx>,
244244
},
245245

246246
TypeChecking {

0 commit comments

Comments
 (0)