Skip to content

Commit 11f84dd

Browse files
committed
elaborate drops does not need deref_finder actually
1 parent 5d490e9 commit 11f84dd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/rustc_mir_transform/src/elaborate_drops.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ use rustc_mir_dataflow::{
1414
use rustc_span::Span;
1515
use tracing::{debug, instrument};
1616

17-
use crate::deref_separator::deref_finder;
1817
use crate::elaborate_drop::{DropElaborator, DropFlagMode, DropStyle, Unwind, elaborate_drop};
1918
use crate::patch::MirPatch;
2019

@@ -87,7 +86,6 @@ impl<'tcx> crate::MirPass<'tcx> for ElaborateDrops {
8786
.elaborate()
8887
};
8988
elaborate_patch.apply(body);
90-
deref_finder(tcx, body, true);
9189
}
9290

9391
fn is_required(&self) -> bool {

0 commit comments

Comments
 (0)