@@ -183,7 +183,8 @@ impl<'mir, 'tcx> Thread<'mir, 'tcx> {
183183
184184impl VisitMachineValues for Thread < ' _ , ' _ > {
185185 fn visit_machine_values ( & self , visit : & mut impl FnMut ( & Operand < Provenance > ) ) {
186- let Thread { panic_payload, last_error, stack, .. } = self ;
186+ let Thread { panic_payload, last_error, stack, state : _, thread_name : _, join_status : _ } =
187+ self ;
187188
188189 if let Some ( payload) = panic_payload {
189190 visit ( & Operand :: Immediate ( Immediate :: Scalar ( * payload) ) )
@@ -199,7 +200,16 @@ impl VisitMachineValues for Thread<'_, '_> {
199200
200201impl VisitMachineValues for Frame < ' _ , ' _ , Provenance , FrameData < ' _ > > {
201202 fn visit_machine_values ( & self , visit : & mut impl FnMut ( & Operand < Provenance > ) ) {
202- let Frame { return_place, locals, extra, .. } = self ;
203+ let Frame {
204+ return_place,
205+ locals,
206+ extra,
207+ body : _,
208+ instance : _,
209+ return_to_block : _,
210+ loc : _,
211+ ..
212+ } = self ;
203213
204214 // Return place.
205215 if let Place :: Ptr ( mplace) = * * return_place {
@@ -290,7 +300,14 @@ impl<'mir, 'tcx> Default for ThreadManager<'mir, 'tcx> {
290300
291301impl VisitMachineValues for ThreadManager < ' _ , ' _ > {
292302 fn visit_machine_values ( & self , visit : & mut impl FnMut ( & Operand < Provenance > ) ) {
293- let ThreadManager { threads, thread_local_alloc_ids, .. } = self ;
303+ let ThreadManager {
304+ threads,
305+ thread_local_alloc_ids,
306+ active_thread : _,
307+ yield_active_thread : _,
308+ sync : _,
309+ timeout_callbacks : _,
310+ } = self ;
294311
295312 for thread in threads {
296313 thread. visit_machine_values ( visit) ;
0 commit comments