We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
unpretty=hir
1 parent 29d53e3 commit a8cbf66Copy full SHA for a8cbf66
src/doc/rustc-dev-guide/src/hir.md
@@ -20,6 +20,14 @@ You can view the HIR representation of your code by passing the
20
cargo rustc -- -Z unpretty=hir-tree
21
```
22
23
+
24
+You can also use the `-Z unpretty=hir` option to generate a HIR
25
+that is closer to the original source code expression:
26
27
+```bash
28
+cargo rustc -- -Z unpretty=hir
29
+```
30
31
## Out-of-band storage and the `Crate` type
32
33
The top-level data-structure in the HIR is the [`Crate`], which stores
0 commit comments