Skip to content

Commit 7613872

Browse files
Auto merge of #144874 - cjgillot:cache-param-env, r=<try>
Cache param_env on disk.
2 parents f34ba77 + 94bea3e commit 7613872

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
@@ -1635,6 +1635,7 @@ rustc_queries! {
16351635
/// then you should take a `TypingEnv` to ensure that you handle opaque types correctly.
16361636
query param_env(def_id: DefId) -> ty::ParamEnv<'tcx> {
16371637
desc { |tcx| "computing normalized predicates of `{}`", tcx.def_path_str(def_id) }
1638+
cache_on_disk_if { true }
16381639
feedable
16391640
}
16401641

0 commit comments

Comments
 (0)