Function rustc_borrowck::traversal::reachable [−][src]
pub fn reachable(
body: &'a Body<'tcx>
) -> impl Iterator<Item = (BasicBlock, &'a BasicBlockData<'tcx>)> + 'aExpand description
Returns an iterator over all basic blocks reachable from the START_BLOCK in no particular
order.
This is clearer than writing preorder in cases where the order doesn’t matter.