Skip to content

Commit 236ddf3

Browse files
committed
Remove arena_cache modifier from queries which return Copy types
1 parent 2d14db3 commit 236ddf3

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

compiler/rustc_middle/src/query/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -729,9 +729,8 @@ rustc_queries! {
729729
}
730730

731731
/// Maps from a trait item to the trait item "descriptor".
732-
query associated_item(key: DefId) -> &'tcx ty::AssocItem {
732+
query associated_item(key: DefId) -> ty::AssocItem {
733733
desc { |tcx| "computing associated item data for `{}`", tcx.def_path_str(key) }
734-
arena_cache
735734
cache_on_disk_if { key.is_local() }
736735
separate_provide_extern
737736
}

0 commit comments

Comments
 (0)