We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 23f05fc + 7b2d2cf commit 4933e28Copy full SHA for 4933e28
src/machine.rs
@@ -52,9 +52,10 @@ pub struct FrameData<'tcx> {
52
impl<'tcx> std::fmt::Debug for FrameData<'tcx> {
53
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
54
// Omitting `timing`, it does not support `Debug`.
55
+ let FrameData { call_id, catch_unwind, timing: _ } = self;
56
f.debug_struct("FrameData")
- .field("call_id", &self.call_id)
57
- .field("catch_unwind", &self.catch_unwind)
+ .field("call_id", call_id)
58
+ .field("catch_unwind", catch_unwind)
59
.finish()
60
}
61
0 commit comments