fix extension for -Zdump-mir-dataflow graphviz files

This commit is contained in:
Rémy Rakic 2024-10-01 23:16:35 +00:00
parent 06bb8364aa
commit 38ea690363

View File

@ -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),