We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
rustc_data_structures::graph
1 parent 4e886d6 commit 3e123e4Copy full SHA for 3e123e4
compiler/rustc_data_structures/src/graph/mod.rs
@@ -60,18 +60,13 @@ pub trait WithStartNode: DirectedGraph {
60
}
61
62
pub trait ControlFlowGraph:
63
- DirectedGraph + WithStartNode + WithPredecessors + WithStartNode + WithSuccessors + WithNumNodes
+ DirectedGraph + WithStartNode + WithPredecessors + WithSuccessors + WithNumNodes
64
{
65
// convenient trait
66
67
68
impl<T> ControlFlowGraph for T where
69
- T: DirectedGraph
70
- + WithStartNode
71
- + WithPredecessors
72
73
- + WithSuccessors
74
- + WithNumNodes
+ T: DirectedGraph + WithStartNode + WithPredecessors + WithSuccessors + WithNumNodes
75
76
77
0 commit comments