pub enum NonHaltingDiagnostic {
PoppedTrackedPointerTag(Item),
CreatedAlloc(AllocId),
+ FreedAlloc(AllocId),
}
/// Emit a custom diagnostic without going through the miri-engine machinery
format!("popped tracked tag for item {:?}", item),
CreatedAlloc(AllocId(id)) =>
format!("created allocation with id {}", id),
+ FreedAlloc(AllocId(id)) =>
+ format!("freed allocation with id {}", id),
};
report_msg(this, "tracking was triggered", msg, vec![], false);
}