about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2025-04-02 03:36:40 +0000
committerMichael Goulet <michael@errs.io>2025-04-02 03:59:48 +0000
commita3e6b6947196554227a636095a7fdec0923a20d9 (patch)
treedc4d95d38a3cafeddb8e1c1a253b6535e0eca382
parent70dab5a27c03a5637cc1d4ba36a5139760d25e38 (diff)
downloadrust-a3e6b6947196554227a636095a7fdec0923a20d9.tar.gz
rust-a3e6b6947196554227a636095a7fdec0923a20d9.zip
cache_on_disk_if false is a noop
-rw-r--r--compiler/rustc_middle/src/query/mod.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs
index d7ed703f4ae..9e9b707be0a 100644
--- a/compiler/rustc_middle/src/query/mod.rs
+++ b/compiler/rustc_middle/src/query/mod.rs
@@ -1602,7 +1602,6 @@ rustc_queries! {
     /// `Err(AlwaysRequiresDrop)` is returned.
     query adt_significant_drop_tys(def_id: DefId) -> Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop> {
         desc { |tcx| "computing when `{}` has a significant destructor", tcx.def_path_str(def_id) }
-        cache_on_disk_if { false }
     }
 
     /// Returns a list of types which (a) have a potentially significant destructor
@@ -1624,7 +1623,6 @@ rustc_queries! {
     /// Otherwise, there is a risk of query cycles.
     query list_significant_drop_tys(ty: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> &'tcx ty::List<Ty<'tcx>> {
         desc { |tcx| "computing when `{}` has a significant destructor", ty.value }
-        cache_on_disk_if { false }
     }
 
     /// Computes the layout of a type. Note that this implicitly