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.