We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2064991 commit 7dba6c5Copy full SHA for 7dba6c5
measureme/src/profiling_data.rs
@@ -137,7 +137,11 @@ impl<'a> Iterator for MatchingEventsIterator<'a> {
137
if previous_event.event_kind != event.event_kind
138
|| previous_event.label != event.label
139
{
140
- panic!("previous event on thread wasn't the start event");
+ panic!(
141
+ "the event with label: \"{}\" went out of scope of the parent \
142
+ event with label: \"{}\"",
143
+ previous_event.label, event.label
144
+ );
145
}
146
147
return Some(MatchingEvent::StartStop(previous_event, event));
0 commit comments