We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9d21b5a + 3e123e4 commit e72754dCopy full SHA for e72754d
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