File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
compiler/rustc_middle/src/query Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -836,13 +836,14 @@ rustc_queries! {
836836 /// additional requirements that the closure's creator must verify.
837837 query mir_borrowck( key: LocalDefId ) -> & ' tcx mir:: BorrowCheckResult <' tcx> {
838838 desc { |tcx| "borrow-checking `{}`" , tcx. def_path_str( key. to_def_id( ) ) }
839- cache_on_disk_if( tcx ) { tcx . is_typeck_child ( key . to_def_id ( ) ) }
839+ cache_on_disk_if { true }
840840 }
841841 query mir_borrowck_const_arg( key: ( LocalDefId , DefId ) ) -> & ' tcx mir:: BorrowCheckResult <' tcx> {
842842 desc {
843843 |tcx| "borrow-checking the const argument`{}`" ,
844844 tcx. def_path_str( key. 0 . to_def_id( ) )
845845 }
846+ cache_on_disk_if { true }
846847 }
847848
848849 /// Gets a complete map from all types to their inherent impls.
You can’t perform that action at this time.
0 commit comments