(&mut self, terminator: &Terminator<'tcx>, location: Location)
| 95 | |
| 96 | impl<'tcx> Visitor<'tcx> for AutoDropCollector<'tcx> { |
| 97 | fn visit_terminator(&mut self, terminator: &Terminator<'tcx>, location: Location) { |
| 98 | if let TerminatorKind::Drop { place, .. } = &terminator.kind { |
| 99 | self.drop_locations.push((location, *place)); |
| 100 | } |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | fn is_reachable(from: Location, to: Location, body: &Body<'_>) -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected