Get the instance by InstanceId.
(&self, idx: InstanceId)
| 88 | .map(|(idx, _)| idx) |
| 89 | } |
| 90 | |
| 91 | /// Get the instance by InstanceId. |
| 92 | pub fn index_to_instance(&self, idx: InstanceId) -> Option<&CallGraphNode<'tcx>> { |
| 93 | self.graph.node_weight(idx) |
| 94 | } |
| 95 |
no test coverage detected