Skip to content

Commit ece3128

Browse files
committed
Auto merge of #139233 - compiler-errors:cache-opaques, r=<try>
Cache `opaque_types_defined_by` r? `@ghost`
2 parents 9b7d5ac + cdd4058 commit ece3128

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

compiler/rustc_middle/src/query/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ rustc_queries! {
377377
|tcx| "computing the opaque types defined by `{}`",
378378
tcx.def_path_str(key.to_def_id())
379379
}
380+
cache_on_disk_if { true }
380381
}
381382

382383
/// Returns the explicitly user-written *bounds* on the associated or opaque type given by `DefId`

0 commit comments

Comments
 (0)