1
Fork 0

make visit_projection take a PlaceRef

This commit is contained in:
Henry Boisdequin 2021-02-16 14:20:36 +05:30
parent 30c5125fbe
commit 5ec4b060a7
4 changed files with 7 additions and 18 deletions

View file

@ -199,7 +199,7 @@ impl<Bx: BuilderMethods<'a, 'tcx>> LocalAnalyzer<'mir, 'a, 'tcx, Bx> {
}
self.visit_local(&place_ref.local, context, location);
self.visit_projection(place_ref.local, place_ref.projection, context, location);
self.visit_projection(*place_ref, context, location);
}
}
}