- fn visit_place(&mut self,
- place: &mir::Place<'tcx>,
- context: mir::visit::PlaceContext,
- location: Location) {
- match place {
- Place::Base(
- PlaceBase::Static(box Static{ kind:StaticKind::Static(def_id), .. })
- ) => {
+ fn visit_place_base(&mut self,
+ place_base: &mir::PlaceBase<'tcx>,
+ _context: mir::visit::PlaceContext,
+ location: Location) {
+ match place_base {
+ PlaceBase::Static(box Static { kind: StaticKind::Static(def_id), .. }) => {