Auto merge of #116370 - nnethercote:more-arena-stuff, r=cjgillot
Remove the `TypedArena::alloc_from_iter` specialization. It was added in #78569. It's complicated and doesn't actually help performance. r? `@cjgillot`
This commit is contained in:
commit
afe67fa2ef
6 changed files with 74 additions and 128 deletions
|
@ -192,5 +192,5 @@ fn variance_of_opaque(tcx: TyCtxt<'_>, item_def_id: LocalDefId) -> &[ty::Varianc
|
|||
}
|
||||
}
|
||||
}
|
||||
tcx.arena.alloc_from_iter(collector.variances.into_iter())
|
||||
tcx.arena.alloc_from_iter(collector.variances)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue