@@ -702,12 +702,12 @@ struct MirBorrowckCtxt<'a, 'infcx, 'tcx> {
702
702
// 2. loans made in overlapping scopes do not conflict
703
703
// 3. assignments do not affect things loaned out as immutable
704
704
// 4. moves do not affect things loaned out in any way
705
- impl < ' a , ' tcx > ResultsVisitor < ' a , ' tcx , Borrowck < ' a , ' tcx > > for MirBorrowckCtxt < ' a , ' _ , ' tcx > {
705
+ impl < ' a , ' tcx > ResultsVisitor < ' tcx , Borrowck < ' a , ' tcx > > for MirBorrowckCtxt < ' a , ' _ , ' tcx > {
706
706
fn visit_after_early_statement_effect (
707
707
& mut self ,
708
708
_results : & mut Results < ' tcx , Borrowck < ' a , ' tcx > > ,
709
709
state : & BorrowckDomain ,
710
- stmt : & ' a Statement < ' tcx > ,
710
+ stmt : & Statement < ' tcx > ,
711
711
location : Location ,
712
712
) {
713
713
debug ! ( "MirBorrowckCtxt::process_statement({:?}, {:?}): {:?}" , location, stmt, state) ;
@@ -783,7 +783,7 @@ impl<'a, 'tcx> ResultsVisitor<'a, 'tcx, Borrowck<'a, 'tcx>> for MirBorrowckCtxt<
783
783
& mut self ,
784
784
_results : & mut Results < ' tcx , Borrowck < ' a , ' tcx > > ,
785
785
state : & BorrowckDomain ,
786
- term : & ' a Terminator < ' tcx > ,
786
+ term : & Terminator < ' tcx > ,
787
787
loc : Location ,
788
788
) {
789
789
debug ! ( "MirBorrowckCtxt::process_terminator({:?}, {:?}): {:?}" , loc, term, state) ;
@@ -896,7 +896,7 @@ impl<'a, 'tcx> ResultsVisitor<'a, 'tcx, Borrowck<'a, 'tcx>> for MirBorrowckCtxt<
896
896
& mut self ,
897
897
_results : & mut Results < ' tcx , Borrowck < ' a , ' tcx > > ,
898
898
state : & BorrowckDomain ,
899
- term : & ' a Terminator < ' tcx > ,
899
+ term : & Terminator < ' tcx > ,
900
900
loc : Location ,
901
901
) {
902
902
let span = term. source_info . span ;
@@ -1363,7 +1363,7 @@ impl<'a, 'tcx> MirBorrowckCtxt<'a, '_, 'tcx> {
1363
1363
fn consume_rvalue (
1364
1364
& mut self ,
1365
1365
location : Location ,
1366
- ( rvalue, span) : ( & ' a Rvalue < ' tcx > , Span ) ,
1366
+ ( rvalue, span) : ( & Rvalue < ' tcx > , Span ) ,
1367
1367
state : & BorrowckDomain ,
1368
1368
) {
1369
1369
match rvalue {
@@ -1636,7 +1636,7 @@ impl<'a, 'tcx> MirBorrowckCtxt<'a, '_, 'tcx> {
1636
1636
fn consume_operand (
1637
1637
& mut self ,
1638
1638
location : Location ,
1639
- ( operand, span) : ( & ' a Operand < ' tcx > , Span ) ,
1639
+ ( operand, span) : ( & Operand < ' tcx > , Span ) ,
1640
1640
state : & BorrowckDomain ,
1641
1641
) {
1642
1642
match * operand {
0 commit comments