Skip to content

Commit be58aab

Browse files
ecstatic-morseJoshua Nelson
authored and
Joshua Nelson
committed
Add link for AnalysisDomain::NAME
1 parent a72fe53 commit be58aab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mir/dataflow.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ to visualize them. This can be done with the `-Zdump-mir` flags described in
162162
either "all" or the name of the MIR body you are interested in.
163163

164164
These `.dot` files will be saved in your `mir_dump` directory and will have the
165-
`NAME` of the analysis (e.g. `maybe_inits`) as part of their filename. Each
165+
[`NAME`] of the analysis (e.g. `maybe_inits`) as part of their filename. Each
166166
visualization will display the full dataflow state at entry and exit of each
167167
block, as well as any changes that occur in each statement and terminator. See
168168
the example below:
@@ -177,6 +177,7 @@ the example below:
177177
[`Engine`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/dataflow/struct.Engine.html
178178
[`GenKillAnalysis`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/dataflow/trait.GenKillAnalysis.html
179179
[`JoinSemiLattice`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/dataflow/lattice/trait.JoinSemiLattice.html
180+
[`NAME`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/dataflow/trait.AnalysisDomain.html#associatedconstant.NAME
180181
[`ResultsCursor`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/dataflow/struct.ResultsCursor.html
181182
[`ResultsVisitor`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/dataflow/trait.ResultsVisitor.html
182183
[`apply_call_return_effect`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/dataflow/trait.Analysis.html#tymethod.apply_call_return_effect

0 commit comments

Comments
 (0)