Improve `borrowck_graphviz_*` documentation.

In particular, `borrowck_graphviz_preflow` no longer exists.
This commit is contained in:
Nicholas Nethercote 2025-04-16 08:57:15 +10:00
parent 33ba43c3bb
commit 299077b6c3
1 changed files with 2 additions and 1 deletions

View File

@ -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: