Rollup merge of #139886 - nnethercote:graphviz_borrowck, r=compiler-errors
`borrowck_graphviz_*` attribute tweaks A couple of small fixes to out-of-date things. r? ```@davidtwco```
This commit is contained in:
commit
d1c1853312
|
|
@ -301,7 +301,8 @@ Right below you can find elaborate explainers on a selected few.
|
|||
|
||||
Some compiler options for debugging specific features yield graphviz graphs -
|
||||
e.g. the `#[rustc_mir(borrowck_graphviz_postflow="suffix.dot")]` attribute
|
||||
dumps various borrow-checker dataflow graphs.
|
||||
on a function dumps various borrow-checker dataflow graphs in conjunction with
|
||||
`-Zdump-mir-dataflow`.
|
||||
|
||||
These all produce `.dot` files. To view these files, install graphviz (e.g.
|
||||
`apt-get install graphviz`) and then run the following commands:
|
||||
|
|
|
|||
Loading…
Reference in New Issue