Remove visit_place.
This commit is contained in:
parent
de9a5b076a
commit
389d52c1eb
1 changed files with 0 additions and 6 deletions
|
@ -1078,12 +1078,6 @@ impl<'tcx> MutVisitor<'tcx> for Integrator<'_, 'tcx> {
|
||||||
*span = span.fresh_expansion(self.expn_data);
|
*span = span.fresh_expansion(self.expn_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn visit_place(&mut self, place: &mut Place<'tcx>, context: PlaceContext, location: Location) {
|
|
||||||
// Handles integrating any locals that occur in the base
|
|
||||||
// or projections
|
|
||||||
self.super_place(place, context, location)
|
|
||||||
}
|
|
||||||
|
|
||||||
fn visit_basic_block_data(&mut self, block: BasicBlock, data: &mut BasicBlockData<'tcx>) {
|
fn visit_basic_block_data(&mut self, block: BasicBlock, data: &mut BasicBlockData<'tcx>) {
|
||||||
self.in_cleanup_block = data.is_cleanup;
|
self.in_cleanup_block = data.is_cleanup;
|
||||||
self.super_basic_block_data(block, data);
|
self.super_basic_block_data(block, data);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue