diff options
| author | Yukang <moorekang@gmail.com> | 2023-05-11 17:59:23 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-11 18:59:23 +0900 |
| commit | de22e55b950371d786f9e0456171fdd2ccedd80b (patch) | |
| tree | 3b32179bf4f6cedaf7d5c1e1d61acbb6953d780e /src/doc/rustc-dev-guide | |
| parent | 2f6d11e0d3650b1c0fbf627f7c033b2c11fc55f0 (diff) | |
| download | rust-de22e55b950371d786f9e0456171fdd2ccedd80b.tar.gz rust-de22e55b950371d786f9e0456171fdd2ccedd80b.zip | |
Use unpretty for debugging Hir (#1685)
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/hir-debugging.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/hir-debugging.md b/src/doc/rustc-dev-guide/src/hir-debugging.md index 8788ad4de1a..c25a558a081 100644 --- a/src/doc/rustc-dev-guide/src/hir-debugging.md +++ b/src/doc/rustc-dev-guide/src/hir-debugging.md @@ -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) |
