Add a cycle detector for generic Graph
s and mir::Body
s
#64622
Merged
Graph
s and mir::Body
s
#64622