@@ -127,7 +127,7 @@ pub fn sanity_check_via_rustc_peek<'tcx, A>(
127
127
let loc = Location { block : bb, statement_index } ;
128
128
cursor. seek_before ( loc) ;
129
129
let state = cursor. get ( ) ;
130
- results. analysis . peek_at ( tcx, place, state, call) ;
130
+ results. analysis . peek_at ( tcx, * place, state, call) ;
131
131
}
132
132
133
133
_ => {
@@ -231,7 +231,7 @@ pub trait RustcPeekAt<'tcx>: Analysis<'tcx> {
231
231
fn peek_at (
232
232
& self ,
233
233
tcx : TyCtxt < ' tcx > ,
234
- place : & mir:: Place < ' tcx > ,
234
+ place : mir:: Place < ' tcx > ,
235
235
flow_state : & BitSet < Self :: Idx > ,
236
236
call : PeekCall ,
237
237
) ;
@@ -244,7 +244,7 @@ where
244
244
fn peek_at (
245
245
& self ,
246
246
tcx : TyCtxt < ' tcx > ,
247
- place : & mir:: Place < ' tcx > ,
247
+ place : mir:: Place < ' tcx > ,
248
248
flow_state : & BitSet < Self :: Idx > ,
249
249
call : PeekCall ,
250
250
) {
@@ -268,7 +268,7 @@ impl<'tcx> RustcPeekAt<'tcx> for MaybeMutBorrowedLocals<'_, 'tcx> {
268
268
fn peek_at (
269
269
& self ,
270
270
tcx : TyCtxt < ' tcx > ,
271
- place : & mir:: Place < ' tcx > ,
271
+ place : mir:: Place < ' tcx > ,
272
272
flow_state : & BitSet < Local > ,
273
273
call : PeekCall ,
274
274
) {
0 commit comments