We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06eb912 commit 8b7b0a0Copy full SHA for 8b7b0a0
compiler/rustc_middle/src/query/mod.rs
@@ -836,13 +836,14 @@ rustc_queries! {
836
/// additional requirements that the closure's creator must verify.
837
query mir_borrowck(key: LocalDefId) -> &'tcx mir::BorrowCheckResult<'tcx> {
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()) }
+ cache_on_disk_if { true }
840
}
841
query mir_borrowck_const_arg(key: (LocalDefId, DefId)) -> &'tcx mir::BorrowCheckResult<'tcx> {
842
desc {
843
|tcx| "borrow-checking the const argument`{}`",
844
tcx.def_path_str(key.0.to_def_id())
845
846
847
848
849
/// Gets a complete map from all types to their inherent impls.
0 commit comments