Skip to content

Commit

Permalink
Rollup merge of rust-lang#107719 - WaffleLapkin:de-arena-allocates-yo…
Browse files Browse the repository at this point in the history
…u-UwU, r=cjgillot

Remove `arena_cache` modifier from `upstream_monomorphizations_for`

Arena-caching a pointer is pretty meaningless as far as I can tell.
  • Loading branch information
matthiaskrgr authored Feb 7, 2023
2 parents e4dd9ed + 23412dd commit 401fe5c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/rustc_middle/src/query/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1541,7 +1541,6 @@ rustc_queries! {
query upstream_monomorphizations_for(def_id: DefId)
-> Option<&'tcx FxHashMap<SubstsRef<'tcx>, CrateNum>>
{
arena_cache
desc { |tcx|
"collecting available upstream monomorphizations for `{}`",
tcx.def_path_str(def_id),
Expand Down

0 comments on commit 401fe5c

Please sign in to comment.