@@ -157,7 +157,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
157157 instance : ty:: Instance < ' tcx > ,
158158 abi : Abi ,
159159 args : & [ OpTy < ' tcx , Self :: PointerTag > ] ,
160- ret : Option < ( PlaceTy < ' tcx , Self :: PointerTag > , mir:: BasicBlock ) > ,
160+ ret : Option < ( & PlaceTy < ' tcx , Self :: PointerTag > , mir:: BasicBlock ) > ,
161161 unwind : Option < mir:: BasicBlock > ,
162162 ) -> InterpResult < ' tcx , Option < & ' mir mir:: Body < ' tcx > > > ;
163163
@@ -168,7 +168,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
168168 fn_val : Self :: ExtraFnVal ,
169169 abi : Abi ,
170170 args : & [ OpTy < ' tcx , Self :: PointerTag > ] ,
171- ret : Option < ( PlaceTy < ' tcx , Self :: PointerTag > , mir:: BasicBlock ) > ,
171+ ret : Option < ( & PlaceTy < ' tcx , Self :: PointerTag > , mir:: BasicBlock ) > ,
172172 unwind : Option < mir:: BasicBlock > ,
173173 ) -> InterpResult < ' tcx > ;
174174
@@ -178,7 +178,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
178178 ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
179179 instance : ty:: Instance < ' tcx > ,
180180 args : & [ OpTy < ' tcx , Self :: PointerTag > ] ,
181- ret : Option < ( PlaceTy < ' tcx , Self :: PointerTag > , mir:: BasicBlock ) > ,
181+ ret : Option < ( & PlaceTy < ' tcx , Self :: PointerTag > , mir:: BasicBlock ) > ,
182182 unwind : Option < mir:: BasicBlock > ,
183183 ) -> InterpResult < ' tcx > ;
184184
@@ -207,7 +207,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
207207 /// Heap allocations via the `box` keyword.
208208 fn box_alloc (
209209 ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
210- dest : PlaceTy < ' tcx , Self :: PointerTag > ,
210+ dest : & PlaceTy < ' tcx , Self :: PointerTag > ,
211211 ) -> InterpResult < ' tcx > ;
212212
213213 /// Called to read the specified `local` from the `frame`.
@@ -327,7 +327,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
327327 fn retag (
328328 _ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
329329 _kind : mir:: RetagKind ,
330- _place : PlaceTy < ' tcx , Self :: PointerTag > ,
330+ _place : & PlaceTy < ' tcx , Self :: PointerTag > ,
331331 ) -> InterpResult < ' tcx > {
332332 Ok ( ( ) )
333333 }
@@ -420,7 +420,7 @@ pub macro compile_time_machine(<$mir: lifetime, $tcx: lifetime>) {
420420 fn_val : !,
421421 _abi : Abi ,
422422 _args : & [ OpTy < $tcx> ] ,
423- _ret : Option < ( PlaceTy < $tcx> , mir:: BasicBlock ) > ,
423+ _ret : Option < ( & PlaceTy < $tcx> , mir:: BasicBlock ) > ,
424424 _unwind : Option < mir:: BasicBlock > ,
425425 ) -> InterpResult < $tcx> {
426426 match fn_val { }
0 commit comments