(&self)
| 133 | &self.result |
| 134 | } |
| 135 | pub fn statistics(&self) -> HashMap<PanicAPI, usize> { |
| 136 | let mut tally: HashMap<PanicAPI, usize> = HashMap::new(); |
| 137 | self.result.iter().for_each(|(_, (_, _, panic_instance))| { |
| 138 | *tally.entry(panic_instance.to_panic_api()).or_default() += 1; |
| 139 | }); |
| 140 | tally |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | struct PanicFinder<'tcx> { |
no test coverage detected