Skip to content

Commit 389d52c

Browse files
committed
Remove visit_place.
1 parent de9a5b0 commit 389d52c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

compiler/rustc_mir_transform/src/inline.rs

-6
Original file line numberDiff line numberDiff line change
@@ -1078,12 +1078,6 @@ impl<'tcx> MutVisitor<'tcx> for Integrator<'_, 'tcx> {
10781078
*span = span.fresh_expansion(self.expn_data);
10791079
}
10801080

1081-
fn visit_place(&mut self, place: &mut Place<'tcx>, context: PlaceContext, location: Location) {
1082-
// Handles integrating any locals that occur in the base
1083-
// or projections
1084-
self.super_place(place, context, location)
1085-
}
1086-
10871081
fn visit_basic_block_data(&mut self, block: BasicBlock, data: &mut BasicBlockData<'tcx>) {
10881082
self.in_cleanup_block = data.is_cleanup;
10891083
self.super_basic_block_data(block, data);

0 commit comments

Comments
 (0)