fix extension for -Zdump-mir-dataflow
graphviz files
This commit is contained in:
parent
06bb8364aa
commit
38ea690363
@ -285,7 +285,7 @@ fn write_graphviz_results<'tcx, A>(
|
|||||||
}
|
}
|
||||||
|
|
||||||
None if dump_enabled(tcx, A::NAME, def_id) => {
|
None if dump_enabled(tcx, A::NAME, def_id) => {
|
||||||
create_dump_file(tcx, ".dot", false, A::NAME, &pass_name.unwrap_or("-----"), body)?
|
create_dump_file(tcx, "dot", false, A::NAME, &pass_name.unwrap_or("-----"), body)?
|
||||||
}
|
}
|
||||||
|
|
||||||
_ => return (Ok(()), results),
|
_ => return (Ok(()), results),
|
||||||
|
Loading…
Reference in New Issue
Block a user