summaryrefslogtreecommitdiffstats
path: root/src/doc/rustc-dev-guide/src/hir-debugging.md
blob: c25a558a08110dfcdf3cb2624bb5ab675ff1e1ce (plain)
1
2
3
4
5
6
7
8
# HIR Debugging

The `-Z unpretty=hir-tree` flag will dump out the HIR.

If you are trying to correlate `NodeId`s or `DefId`s with source code, the
`-Z unpretty=expanded,identified` flag may be useful.

TODO: anything else? [#1159](https://github.com/rust-lang/rustc-dev-guide/issues/1159)