about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/structured_errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-02-21 23:01:58 +0100
committerGitHub <noreply@github.com>2023-02-21 23:01:58 +0100
commit314fe4d170eae08a3f5c991133946d761e077280 (patch)
tree6a693b09209d1382d7ec06e0228453799dc6f212 /compiler/rustc_hir_analysis/src/structured_errors.rs
parentf4c7596ac3f2d27578787da3279705fd45aefbd6 (diff)
parent8252a6eddfc59328fe6ac36ef09feb2844f28fa2 (diff)
downloadrust-314fe4d170eae08a3f5c991133946d761e077280.tar.gz
rust-314fe4d170eae08a3f5c991133946d761e077280.zip
Rollup merge of #104239 - b-naber:sccs-info, r=jackh726
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).
Diffstat (limited to 'compiler/rustc_hir_analysis/src/structured_errors.rs')
0 files changed, 0 insertions, 0 deletions