From 0296ecfd1fa6c3b10afe00e04c2df59eda2d5c56 Mon Sep 17 00:00:00 2001 From: Yukang Date: Thu, 11 May 2023 17:59:23 +0800 Subject: [PATCH] Use unpretty for debugging Hir (#1685) --- src/hir-debugging.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hir-debugging.md b/src/hir-debugging.md index 8788ad4d..c25a558a 100644 --- a/src/hir-debugging.md +++ b/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)