Skip to content

Commit

Permalink
Use unpretty for debugging Hir (rust-lang#1685)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang authored May 11, 2023
1 parent 0cae602 commit 0296ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hir-debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
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
`--pretty expanded,identified` flag may be useful.
`-Z unpretty=expanded,identified` flag may be useful.

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

0 comments on commit 0296ecf

Please sign in to comment.