mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
314fe4d170
Better debug logs for borrowck constraint graph It's really cumbersome to work with `RegionVar`s when trying to debug borrowck code or when trying to understand how the borrowchecker works. This PR collects some region information (behind `cfg(debug_assertions)`) for created `RegionVar`s (NLL region vars, this PR doesn't touch canonicalization) and prints the nodes and edges of the strongly connected constraints graph using representatives that use that region information (either lifetime names, locations in MIR or spans). |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |