Remove one more usage of mk_substs_trait
This commit is contained in:
parent
1bf80249ae
commit
4ffe3bdf99
3 changed files with 8 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue