Use unpretty for debugging Hir (#1685)

This commit is contained in:
Yukang 2023-05-11 17:59:23 +08:00 committed by GitHub
parent 28dbeaf5c4
commit 5f48c757c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3,6 +3,6 @@
The `-Z unpretty=hir-tree` flag will dump out the HIR. 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 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) TODO: anything else? [#1159](https://github.com/rust-lang/rustc-dev-guide/issues/1159)