rustc_data_structures::graph

Function is_cyclic

Source
pub fn is_cyclic<G>(graph: &G) -> bool
Expand description

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