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! {
836
836
/// additional requirements that the closure's creator must verify.
837
837
query mir_borrowck( key: LocalDefId ) -> & ' tcx mir:: BorrowCheckResult <' tcx> {
838
838
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 }
840
840
}
841
841
query mir_borrowck_const_arg( key: ( LocalDefId , DefId ) ) -> & ' tcx mir:: BorrowCheckResult <' tcx> {
842
842
desc {
843
843
|tcx| "borrow-checking the const argument`{}`" ,
844
844
tcx. def_path_str( key. 0 . to_def_id( ) )
845
845
}
846
+ cache_on_disk_if { true }
846
847
}
847
848
848
849
/// Gets a complete map from all types to their inherent impls.
You can’t perform that action at this time.
0 commit comments