Skip to content

Commit

Permalink
Add anonymous lifetime to Place parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
czipperz committed Jun 2, 2019
1 parent 0a6a5c8 commit 2a3b29e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_mir/borrow_check/used_muts.rs
Expand Up @@ -53,7 +53,7 @@ struct GatherUsedMutsVisitor<'visit, 'cx: 'visit, 'gcx: 'tcx, 'tcx: 'cx> {
}

impl GatherUsedMutsVisitor<'_, '_, '_, '_> {
fn remove_never_initialized_mut_locals(&mut self, into: &Place) {
fn remove_never_initialized_mut_locals(&mut self, into: &Place<'_>) {
// Remove any locals that we found were initialized from the
// `never_initialized_mut_locals` set. At the end, the only remaining locals will
// be those that were never initialized - we will consider those as being used as
Expand Down

0 comments on commit 2a3b29e

Please sign in to comment.