Skip to content

Commit

Permalink
fix extension for -Zdump-mir-dataflow graphviz files
Browse files Browse the repository at this point in the history
  • Loading branch information
lqd committed Oct 1, 2024
1 parent 06bb836 commit 38ea690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_mir_dataflow/src/framework/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ where
}

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),
Expand Down

0 comments on commit 38ea690

Please sign in to comment.