Skip to content

Commit c25b3df

Browse files
czipperzCentril
andauthored
Elide lifetimes not used
Co-Authored-By: Mazdak Farrokhzad <[email protected]>
1 parent 911d205 commit c25b3df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/borrow_check/used_muts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ struct GatherUsedMutsVisitor<'visit, 'cx: 'visit, 'gcx: 'tcx, 'tcx: 'cx> {
5252
mbcx: &'visit mut MirBorrowckCtxt<'cx, 'gcx, 'tcx>,
5353
}
5454

55-
impl<'visit, 'cx, 'gcx, 'tcx> GatherUsedMutsVisitor<'visit, 'cx, 'gcx, 'tcx> {
55+
impl GatherUsedMutsVisitor<'_, '_, '_, '_> {
5656
fn remove_never_initialized_mut_locals(into: &Place) {
5757
// Remove any locals that we found were initialized from the
5858
// `never_initialized_mut_locals` set. At the end, the only remaining locals will

0 commit comments

Comments
 (0)