1
Fork 0

Remove one more usage of mk_substs_trait

This commit is contained in:
Oli Scherer 2022-12-13 10:49:30 +00:00
parent 1bf80249ae
commit 4ffe3bdf99
3 changed files with 8 additions and 4 deletions

View file

@ -142,7 +142,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
let exchange_malloc = Operand::function_handle(
tcx,
tcx.require_lang_item(LangItem::ExchangeMalloc, Some(expr_span)),
ty::List::empty(),
[],
expr_span,
);
let storage = this.temp(tcx.mk_mut_ptr(tcx.types.u8), expr_span);