| 142 | } |
| 143 | |
| 144 | struct PanicFinder<'tcx> { |
| 145 | instance: Instance<'tcx>, |
| 146 | body: &'tcx Body<'tcx>, |
| 147 | tcx: TyCtxt<'tcx>, |
| 148 | callsites: HashMap<Location, PanicInstance<'tcx>>, |
| 149 | } |
| 150 | |
| 151 | impl<'tcx> PanicFinder<'tcx> { |
| 152 | fn new(instance: Instance<'tcx>, tcx: TyCtxt<'tcx>) -> Option<Self> { |
nothing calls this directly
no outgoing calls
no test coverage detected