Add pass names to some common dataflow analyses

This commit is contained in:
Dylan MacKenzie 2020-09-14 17:13:47 -07:00
parent 519799f099
commit 72b402ed38

View file

@ -87,6 +87,7 @@ impl<'tcx> LateLintPass<'tcx> for RedundantClone {
let maybe_storage_live_result = MaybeStorageLive
.into_engine(cx.tcx, mir, def_id.to_def_id())
.pass_name("redundant_clone")
.iterate_to_fixpoint()
.into_results_cursor(mir);
let mut possible_borrower = {