1
Fork 0

Remove arena_cache modifier from queries which return Copy types

This commit is contained in:
Maybe Waffle 2023-02-03 16:29:46 +00:00
parent 2d14db321b
commit 236ddf36b3

View file

@ -729,9 +729,8 @@ rustc_queries! {
} }
/// Maps from a trait item to the trait item "descriptor". /// Maps from a trait item to the trait item "descriptor".
query associated_item(key: DefId) -> &'tcx ty::AssocItem { query associated_item(key: DefId) -> ty::AssocItem {
desc { |tcx| "computing associated item data for `{}`", tcx.def_path_str(key) } desc { |tcx| "computing associated item data for `{}`", tcx.def_path_str(key) }
arena_cache
cache_on_disk_if { key.is_local() } cache_on_disk_if { key.is_local() }
separate_provide_extern separate_provide_extern
} }