@@ -183,7 +183,8 @@ impl<'mir, 'tcx> Thread<'mir, 'tcx> {
183
183
184
184
impl VisitMachineValues for Thread < ' _ , ' _ > {
185
185
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 ;
187
188
188
189
if let Some ( payload) = panic_payload {
189
190
visit ( & Operand :: Immediate ( Immediate :: Scalar ( * payload) ) )
@@ -199,7 +200,16 @@ impl VisitMachineValues for Thread<'_, '_> {
199
200
200
201
impl VisitMachineValues for Frame < ' _ , ' _ , Provenance , FrameData < ' _ > > {
201
202
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 ;
203
213
204
214
// Return place.
205
215
if let Place :: Ptr ( mplace) = * * return_place {
@@ -290,7 +300,14 @@ impl<'mir, 'tcx> Default for ThreadManager<'mir, 'tcx> {
290
300
291
301
impl VisitMachineValues for ThreadManager < ' _ , ' _ > {
292
302
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 ;
294
311
295
312
for thread in threads {
296
313
thread. visit_machine_values ( visit) ;
0 commit comments