| 113 | } |
| 114 | |
| 115 | pub struct PanicDetector<'tcx> { |
| 116 | tcx: TyCtxt<'tcx>, |
| 117 | result: HashMap<(DefId, Location), (Span, Span, PanicInstance<'tcx>)>, |
| 118 | } |
| 119 | |
| 120 | impl<'tcx> PanicDetector<'tcx> { |
| 121 | pub fn new(tcx: TyCtxt<'tcx>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected