Skip to content

Commit c90c76a

Browse files
committed
WIP
1 parent 67de2a4 commit c90c76a

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_middle/src/query

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/query/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ rustc_queries! {
14241424
/// look up the correct symbol name of instances from upstream crates.
14251425
query symbol_name(key: ty::Instance<'tcx>) -> ty::SymbolName<'tcx> {
14261426
desc { "computing the symbol for `{}`", key }
1427-
cache_on_disk_if { true }
1427+
cache_on_disk_if { key.def_id().is_local() }
14281428
}
14291429

14301430
query def_kind(def_id: DefId) -> DefKind {

0 commit comments

Comments
 (0)