Skip to content

Commit 06af617

Browse files
committed
fix dumping uninitialized locals
1 parent 3f552fe commit 06af617

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,7 @@ pub fn eval_main<'a, 'tcx: 'a>(
264264
trace!("Frame {}", i);
265265
trace!(" return: {:#?}", frame.return_place);
266266
for (i, local) in frame.locals.iter().enumerate() {
267-
if let Ok(local) = local.access() {
268-
trace!(" local {}: {:?}", i, local);
269-
}
267+
trace!(" local {}: {:?}", i, local.value);
270268
}
271269
}
272270
}

0 commit comments

Comments
 (0)