Fix needless_lifetimes in stable_mir

This commit is contained in:
Michal Piotrowski 2024-10-03 13:15:48 +02:00
parent fd1f8aa05d
commit 8918a9d265
No known key found for this signature in database
GPG Key ID: 2538DC6C8E7C7859

View File

@ -76,9 +76,9 @@ fn visit_place(&mut self, place: &Place, ptx: PlaceContext, location: Location)
self.super_place(place, ptx, location)
}
fn visit_projection_elem<'a>(
fn visit_projection_elem(
&mut self,
place_ref: PlaceRef<'a>,
place_ref: PlaceRef<'_>,
elem: &ProjectionElem,
ptx: PlaceContext,
location: Location,