@@ -157,7 +157,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
157
157
instance : ty:: Instance < ' tcx > ,
158
158
abi : Abi ,
159
159
args : & [ OpTy < ' tcx , Self :: PointerTag > ] ,
160
- ret : Option < ( PlaceTy < ' tcx , Self :: PointerTag > , mir:: BasicBlock ) > ,
160
+ ret : Option < ( & PlaceTy < ' tcx , Self :: PointerTag > , mir:: BasicBlock ) > ,
161
161
unwind : Option < mir:: BasicBlock > ,
162
162
) -> InterpResult < ' tcx , Option < & ' mir mir:: Body < ' tcx > > > ;
163
163
@@ -168,7 +168,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
168
168
fn_val : Self :: ExtraFnVal ,
169
169
abi : Abi ,
170
170
args : & [ OpTy < ' tcx , Self :: PointerTag > ] ,
171
- ret : Option < ( PlaceTy < ' tcx , Self :: PointerTag > , mir:: BasicBlock ) > ,
171
+ ret : Option < ( & PlaceTy < ' tcx , Self :: PointerTag > , mir:: BasicBlock ) > ,
172
172
unwind : Option < mir:: BasicBlock > ,
173
173
) -> InterpResult < ' tcx > ;
174
174
@@ -178,7 +178,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
178
178
ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
179
179
instance : ty:: Instance < ' tcx > ,
180
180
args : & [ OpTy < ' tcx , Self :: PointerTag > ] ,
181
- ret : Option < ( PlaceTy < ' tcx , Self :: PointerTag > , mir:: BasicBlock ) > ,
181
+ ret : Option < ( & PlaceTy < ' tcx , Self :: PointerTag > , mir:: BasicBlock ) > ,
182
182
unwind : Option < mir:: BasicBlock > ,
183
183
) -> InterpResult < ' tcx > ;
184
184
@@ -207,7 +207,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
207
207
/// Heap allocations via the `box` keyword.
208
208
fn box_alloc (
209
209
ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
210
- dest : PlaceTy < ' tcx , Self :: PointerTag > ,
210
+ dest : & PlaceTy < ' tcx , Self :: PointerTag > ,
211
211
) -> InterpResult < ' tcx > ;
212
212
213
213
/// Called to read the specified `local` from the `frame`.
@@ -327,7 +327,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
327
327
fn retag (
328
328
_ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
329
329
_kind : mir:: RetagKind ,
330
- _place : PlaceTy < ' tcx , Self :: PointerTag > ,
330
+ _place : & PlaceTy < ' tcx , Self :: PointerTag > ,
331
331
) -> InterpResult < ' tcx > {
332
332
Ok ( ( ) )
333
333
}
@@ -420,7 +420,7 @@ pub macro compile_time_machine(<$mir: lifetime, $tcx: lifetime>) {
420
420
fn_val : !,
421
421
_abi : Abi ,
422
422
_args : & [ OpTy < $tcx> ] ,
423
- _ret : Option < ( PlaceTy < $tcx> , mir:: BasicBlock ) > ,
423
+ _ret : Option < ( & PlaceTy < $tcx> , mir:: BasicBlock ) > ,
424
424
_unwind : Option < mir:: BasicBlock > ,
425
425
) -> InterpResult < $tcx> {
426
426
match fn_val { }
0 commit comments