lhs = ? ?--|store|-->lhs
(&self, lhs: &ConstraintNode<'tcx>)
| 310 | /// *lhs = ? |
| 311 | /// ?--|store|-->lhs |
| 312 | fn store_sources(&self, lhs: &ConstraintNode<'tcx>) -> Vec<ConstraintNode<'tcx>> { |
| 313 | let lhs = self.get_node(lhs).unwrap(); |
| 314 | let mut sources = Vec::new(); |
| 315 | for edge in self.graph.edges_directed(lhs, Direction::Incoming) { |
| 316 | if *edge.weight() == ConstraintEdge::Store { |
| 317 | let source = self.graph.node_weight(edge.source()).cloned().unwrap(); |
| 318 | sources.push(source); |
| 319 | } |
| 320 | } |
| 321 | sources |
| 322 | } |
| 323 | |
| 324 | /// ? = *rhs |
| 325 | /// rhs--|load|-->? |
no test coverage detected