? = rhs rhs--|copy|-->?
(&self, rhs: &ConstraintNode<'tcx>)
| 338 | /// ? = rhs |
| 339 | /// rhs--|copy|-->? |
| 340 | fn copy_targets(&self, rhs: &ConstraintNode<'tcx>) -> Vec<ConstraintNode<'tcx>> { |
| 341 | let rhs = self.get_node(rhs).unwrap(); |
| 342 | let mut targets = Vec::new(); |
| 343 | for edge in self.graph.edges_directed(rhs, Direction::Outgoing) { |
| 344 | if *edge.weight() == ConstraintEdge::Copy { |
| 345 | let target = self.graph.node_weight(edge.target()).cloned().unwrap(); |
| 346 | targets.push(target); |
| 347 | } |
| 348 | } |
| 349 | targets |
| 350 | } |
| 351 | |
| 352 | /// X = Arc::clone(rhs) or X = ptr::read(rhs) |
| 353 | /// ? = &X |
no test coverage detected