File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 22
33Use the ` -Z unpretty=hir ` flag to produce a human-readable representation of the HIR.
44For cargo projects this can be done with ` cargo rustc -- -Z unpretty=hir ` .
5- This output is useful when you need to see at a glance how your code was desugared and transformed during AST lowering.
5+ This output is useful when you need to see at a glance how your code was desugared and transformed
6+ during AST lowering.
67
78For a full ` Debug ` dump of the data in the HIR, use the ` -Z unpretty=hir-tree ` flag.
8- This may be useful when you need to see the full structure of the HIR from the perspective of the compiler.
9+ This may be useful when you need to see the full structure of the HIR from the perspective of the
10+ compiler.
911
1012If you are trying to correlate ` NodeId ` s or ` DefId ` s with source code, the
1113` -Z unpretty=expanded,identified ` flag may be useful.
You can’t perform that action at this time.
0 commit comments