Skip to content

Commit

Permalink
Fix needless_lifetimes in stable_mir
Browse files Browse the repository at this point in the history
  • Loading branch information
practicalrs committed Oct 3, 2024
1 parent fd1f8aa commit 8918a9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/stable_mir/src/mir/visit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ pub trait MirVisitor {
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,
Expand Down

0 comments on commit 8918a9d

Please sign in to comment.