We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4e09b5 commit 27f29d1Copy full SHA for 27f29d1
compiler/rustc_middle/src/query/mod.rs
@@ -587,7 +587,7 @@ rustc_queries! {
587
/// Cross-crate cache of `required_and_mentioned_items`. Do not call directly.
588
query required_and_mentioned_items_of_item(key: DefId) -> &'tcx mir::RequiredAndMentionedItems<'tcx> {
589
desc { |tcx| "computing required and mentioned items for `{}`", tcx.def_path_str(key) }
590
- cache_on_disk_if { true }
+ cache_on_disk_if { key.is_local() }
591
arena_cache
592
separate_provide_extern
593
}
0 commit comments