}
fn run_pass(&self, _tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
- debug!("SimplifyCfg({:?}) - simplifying {:?}", self.label, body);
+ debug!("SimplifyCfg({:?}) - simplifying {:?}", self.label, body.source);
simplify_cfg(body);
}
}
} else {
// A definition. Although, it still might use other locals for indexing.
self.super_projection(
- place.local,
- &place.projection,
+ place.as_ref(),
PlaceContext::MutatingUse(MutatingUseContext::Projection),
location,
);