File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/rustc_mir/src/transform Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -542,9 +542,9 @@ fn inner_optimized_mir(tcx: TyCtxt<'_>, did: LocalDefId) -> Body<'_> {
542542 }
543543
544544 match tcx. hir ( ) . body_const_context ( did) {
545- /// Run the `mir_for_ctfe` query, which depends on `mir_drops_elaborated_and_const_checked`
546- /// which we are going to steal below. Thus we need to run `mir_for_ctfe` first, so it
547- /// computes and caches its result.
545+ // Run the `mir_for_ctfe` query, which depends on `mir_drops_elaborated_and_const_checked`
546+ // which we are going to steal below. Thus we need to run `mir_for_ctfe` first, so it
547+ // computes and caches its result.
548548 Some ( hir:: ConstContext :: ConstFn ) => tcx. ensure ( ) . mir_for_ctfe ( did) ,
549549 None => { }
550550 Some ( other) => panic ! ( "do not use `optimized_mir` for constants: {:?}" , other) ,
You can’t perform that action at this time.
0 commit comments