Skip to content

Commit a3e6b69

Browse files
cache_on_disk_if false is a noop
1 parent 70dab5a commit a3e6b69

File tree

1 file changed

+0
-2
lines changed
  • compiler/rustc_middle/src/query

1 file changed

+0
-2
lines changed

Diff for: compiler/rustc_middle/src/query/mod.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1602,7 +1602,6 @@ rustc_queries! {
16021602
/// `Err(AlwaysRequiresDrop)` is returned.
16031603
query adt_significant_drop_tys(def_id: DefId) -> Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop> {
16041604
desc { |tcx| "computing when `{}` has a significant destructor", tcx.def_path_str(def_id) }
1605-
cache_on_disk_if { false }
16061605
}
16071606

16081607
/// Returns a list of types which (a) have a potentially significant destructor
@@ -1624,7 +1623,6 @@ rustc_queries! {
16241623
/// Otherwise, there is a risk of query cycles.
16251624
query list_significant_drop_tys(ty: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> &'tcx ty::List<Ty<'tcx>> {
16261625
desc { |tcx| "computing when `{}` has a significant destructor", ty.value }
1627-
cache_on_disk_if { false }
16281626
}
16291627

16301628
/// Computes the layout of a type. Note that this implicitly

0 commit comments

Comments
 (0)