Skip to content

Commit 2a3b29e

Browse files
committed
Add anonymous lifetime to Place parameter
1 parent 0a6a5c8 commit 2a3b29e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/borrow_check/used_muts.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ struct GatherUsedMutsVisitor<'visit, 'cx: 'visit, 'gcx: 'tcx, 'tcx: 'cx> {
5353
}
5454

5555
impl GatherUsedMutsVisitor<'_, '_, '_, '_> {
56-
fn remove_never_initialized_mut_locals(&mut self, into: &Place) {
56+
fn remove_never_initialized_mut_locals(&mut self, 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
5959
// be those that were never initialized - we will consider those as being used as

0 commit comments

Comments
 (0)