Skip to content

Commit a8c6073

Browse files
Rollup merge of rust-lang#76724 - ecstatic-morse:dataflow-pass-names, r=lcnr
Allow a unique name to be assigned to dataflow graphviz output Previously, if the same analysis were invoked multiple times in a single compilation session, the graphviz output for later runs would overwrite that of previous runs. Allow callers to add a unique identifier to each run so this can be avoided.
2 parents 141b9c2 + 72b402e commit a8c6073

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clippy_lints/src/redundant_clone.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ impl<'tcx> LateLintPass<'tcx> for RedundantClone {
8787

8888
let maybe_storage_live_result = MaybeStorageLive
8989
.into_engine(cx.tcx, mir, def_id.to_def_id())
90+
.pass_name("redundant_clone")
9091
.iterate_to_fixpoint()
9192
.into_results_cursor(mir);
9293
let mut possible_borrower = {

0 commit comments

Comments
 (0)