We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e6c7fb commit f58dfe9Copy full SHA for f58dfe9
src/thir.md
@@ -39,6 +39,9 @@ will be allocated. Dropping this arena will result in the THIR being destroyed,
39
which is useful to keep peak memory in check. Having a THIR representation of
40
all bodies of a crate in memory at the same time would be very heavy.
41
42
+You can get a debug representation of the THIR by passing the `-Zunpretty=thir-tree` flag
43
+to `rustc`.
44
+
45
[thir-docs]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir_build/thir/index.html
46
[`thir::Expr`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir_build/thir/struct.Expr.html
47
[`build_thir`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir_build/thir/fn.build_thir.html
0 commit comments