From 509d4383993849ce8a6864fba319b6262c4786e8 Mon Sep 17 00:00:00 2001 From: yukang Date: Wed, 10 May 2023 09:17:20 +0800 Subject: [PATCH] use unpretty for debugging --- 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 8788ad4de..c25a558a0 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)