Function rustc_hir_typeck::generator_interior::drop_ranges::cfg_visualize::write_graph_to_file
source · pub(super) fn write_graph_to_file(
drop_ranges: &DropRangesBuilder,
filename: &str,
tcx: TyCtxt<'_>
)Expand description
Writes the CFG for DropRangesBuilder to a .dot file for visualization.
It is not normally called, but is kept around to easily add debugging code when needed.