mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-06 08:01:00 +00:00
The previous recursive approach might overflow the stack when walking a particularly deep, list-like, graph. In particular, dominator calculation for borrow checking does such a traversal and very long functions might lead to a region dependency graph with in this problematic structure.