| 99 | struct AllLocalUsesVisitor { |
| 100 | for_local: Local, |
| 101 | uses: BTreeSet<Location>, |
| 102 | } |
| 103 | |
| 104 | impl Visitor<'_> for AllLocalUsesVisitor { |
| 105 | fn visit_local(&mut self, local: Local, context: PlaceContext, location: Location) { |
| 106 | if local == self.for_local { |
| 107 | if let Some(DefUse::Use) = categorize(context) { |
nothing calls this directly
no outgoing calls
no test coverage detected