@@ -112,7 +112,7 @@ pub fn may_panic<'tcx>(job: Lrc<QueryJob<'tcx>>) {
112
112
}
113
113
114
114
#[ no_mangle]
115
- fn test_moves2 < ' a , ' tcx > ( tcx : TyCtxt < ' a , ' tcx , ' tcx > ,
115
+ fn test_moves2 < ' a , ' tcx > ( tcx : TyCtxt < ' a , ' tcx , ' tcx > ,
116
116
key : & DefId , key_hash : u64 ,
117
117
span : Span ,
118
118
parent : & Option < Lrc < QueryJob < ' tcx > > > ,
@@ -125,7 +125,7 @@ fn test_moves2<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
125
125
span,
126
126
query : :: ty:: query:: queries:: type_of:: query ( * key) ,
127
127
} ;
128
- * Lrc :: get_mut ( & mut job) . unwrap ( ) =
128
+ * Lrc :: get_mut ( & mut job) . unwrap ( ) =
129
129
MaybeUninit :: new ( QueryJob :: new ( info, parent. clone ( ) ) ) ;
130
130
let job: Lrc < QueryJob < ' tcx > > = unsafe { std:: mem:: transmute ( job) } ;
131
131
let job_clone = job. clone ( ) ;
@@ -141,7 +141,7 @@ fn test_moves2<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
141
141
}
142
142
143
143
#[ no_mangle]
144
- fn test_moves < ' a , ' tcx > ( tcx : TyCtxt < ' a , ' tcx , ' tcx > ,
144
+ fn test_moves < ' a , ' tcx > ( tcx : TyCtxt < ' a , ' tcx , ' tcx > ,
145
145
key : & :: hir:: def_id:: DefId , key_hash : u64 ,
146
146
span : Span ,
147
147
mut job_storage : MoveSlot < ' a , JobOwner < ' a , ' tcx , :: ty:: query:: queries:: type_of < ' tcx > > > ,
@@ -154,7 +154,7 @@ fn test_moves<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
154
154
query : :: ty:: query:: queries:: type_of:: query ( * key) ,
155
155
} ;
156
156
let parent = icx. query . map ( |q| LrcRef :: into ( q) ) ;
157
- * Lrc :: get_mut ( & mut job) . unwrap ( ) =
157
+ * Lrc :: get_mut ( & mut job) . unwrap ( ) =
158
158
MaybeUninit :: new ( QueryJob :: new ( info, parent) ) ;
159
159
let job: Lrc < QueryJob < ' tcx > > = unsafe { std:: mem:: transmute ( job) } ;
160
160
let job_clone = job. clone ( ) ;
0 commit comments