(&mut self, instance: Instance<'tcx>)
| 125 | } |
| 126 | } |
| 127 | pub fn detect(&mut self, instance: Instance<'tcx>) { |
| 128 | if let Some(mut panic_finder) = PanicFinder::new(instance, self.tcx) { |
| 129 | self.result.extend(panic_finder.detect()); |
| 130 | } |
| 131 | } |
| 132 | pub fn result(&self) -> &HashMap<(DefId, Location), (Span, Span, PanicInstance<'tcx>)> { |
| 133 | &self.result |
| 134 | } |
nothing calls this directly
no outgoing calls
no test coverage detected