[][src]Function rustc_ap_rustc_data_structures::graph::is_cyclic

pub fn is_cyclic<G: ?Sized>(graph: &G) -> bool where
    G: DirectedGraph + WithStartNode + WithSuccessors + WithNumNodes

Returns true if the graph has a cycle that is reachable from the start node.