We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96d3038 commit a2d2cfaCopy full SHA for a2d2cfa
src/hir.md
@@ -10,6 +10,14 @@ been desugared away (as an example, `for` loops are converted into a
10
11
This chapter covers the main concepts of the HIR.
12
13
+You can view the HIR representation of your code by passing the
14
+`-Zunpretty=hir-tree` flag to rustc, for example by setting the `RUSTFLAGS`
15
+environment variable:
16
+
17
+```
18
+RUSTFLAGS=-Zunpretty=hir-tree cargo build
19
20
21
### Out-of-band storage and the `Crate` type
22
23
The top-level data-structure in the HIR is the `Crate`, which stores
0 commit comments