Skip to content

Commit f90fd69

Browse files
committed
Remove caching
1 parent e0da778 commit f90fd69

File tree

2 files changed

+0
-3
lines changed
  • compiler

2 files changed

+0
-3
lines changed

compiler/rustc_middle/src/query/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1498,7 +1498,6 @@ rustc_queries! {
14981498
}
14991499
query mir_flags(key: DefId) -> MirFlags {
15001500
desc { |tcx| "stashing some local properties of `{}` before the body is stolen", tcx.def_path_str(key) }
1501-
cache_on_disk_if { true }
15021501
separate_provide_extern
15031502
}
15041503
query required_panic_strategy(_: CrateNum) -> Option<PanicStrategy> {

compiler/rustc_mir_transform/src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,6 @@ fn mir_promoted(
338338
tcx.ensure_with_value().coroutine_by_move_body_def_id(def);
339339
}
340340

341-
tcx.ensure_with_value().mir_flags(def);
342-
343341
let mut body = tcx.mir_built(def).steal();
344342
if let Some(error_reported) = const_qualifs.tainted_by_errors {
345343
body.tainted_by_errors = Some(error_reported);

0 commit comments

Comments
 (0)