File tree 2 files changed +2
-10
lines changed
src/doc/rustc-dev-guide/src
2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,8 @@ Right below you can find elaborate explainers on a selected few.
301
301
302
302
Some compiler options for debugging specific features yield graphviz graphs -
303
303
e.g. the ` #[rustc_mir(borrowck_graphviz_postflow="suffix.dot")] ` attribute
304
- dumps various borrow-checker dataflow graphs.
304
+ on a function dumps various borrow-checker dataflow graphs in conjunction with
305
+ ` -Zdump-mir-dataflow ` .
305
306
306
307
These all produce ` .dot ` files. To view these files, install graphviz (e.g.
307
308
` apt-get install graphviz ` ) and then run the following commands:
Original file line number Diff line number Diff line change @@ -42,12 +42,3 @@ each generated output path.
42
42
on * entry* to each block, as well as the gen- and kill-sets that
43
43
were so-called "transfer functions" summarizing the effect of each
44
44
basic block.
45
-
46
- * (In addition to the ` borrowck_graphviz_postflow ` attribute-key
47
- noted above, there is also ` borrowck_graphviz_preflow ` ; it has the
48
- same interface and generates the same set of files, but it renders
49
- the dataflow state after building the gen- and kill-sets but
50
- * before* running the dataflow analysis itself, so each entry-set is
51
- just the initial default state for that dataflow analysis. This is
52
- less useful for understanding the error message output in these
53
- tests.)
You can’t perform that action at this time.
0 commit comments