pub fn dump_dep_graph_json(
tcx: TyCtxt<'_>,
dir: &Path,
file_name: &str,
def_ids: &[DefId],
adj: &[Vec<usize>],
) -> Result<()>Expand description
Topologically sort def_ids by adj (deps before dependents) and emit as JSON to file_name
inside dir.