@@ -468,7 +468,8 @@ crate struct MirBorrowckCtxt<'cx, 'tcx> {
468
468
/// `BTreeMap` is used to preserve the order of insertions when iterating. This is necessary
469
469
/// when errors in the map are being re-added to the error buffer so that errors with the
470
470
/// same primary span come out in a consistent order.
471
- move_error_reported : BTreeMap < Vec < MoveOutIndex > , ( PlaceRef < ' cx , ' tcx > , DiagnosticBuilder < ' cx > ) > ,
471
+ move_error_reported :
472
+ BTreeMap < Vec < MoveOutIndex > , ( PlaceRef < ' tcx , ' tcx > , DiagnosticBuilder < ' cx > ) > ,
472
473
/// This field keeps track of errors reported in the checking of uninitialized variables,
473
474
/// so that we don't report seemingly duplicate errors.
474
475
uninitialized_error_reported : FxHashSet < PlaceRef < ' cx , ' tcx > > ,
@@ -1527,7 +1528,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
1527
1528
& mut self ,
1528
1529
location : Location ,
1529
1530
desired_action : InitializationRequiringAction ,
1530
- place_span : ( PlaceRef < ' cx , ' tcx > , Span ) ,
1531
+ place_span : ( PlaceRef < ' tcx , ' tcx > , Span ) ,
1531
1532
flow_state : & Flows < ' cx , ' tcx > ,
1532
1533
) {
1533
1534
let maybe_uninits = & flow_state. uninits ;
@@ -1593,7 +1594,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
1593
1594
& mut self ,
1594
1595
location : Location ,
1595
1596
desired_action : InitializationRequiringAction ,
1596
- place_span : ( PlaceRef < ' cx , ' tcx > , Span ) ,
1597
+ place_span : ( PlaceRef < ' tcx , ' tcx > , Span ) ,
1597
1598
maybe_uninits : & BitSet < MovePathIndex > ,
1598
1599
from : u32 ,
1599
1600
to : u32 ,
@@ -1632,7 +1633,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
1632
1633
& mut self ,
1633
1634
location : Location ,
1634
1635
desired_action : InitializationRequiringAction ,
1635
- place_span : ( PlaceRef < ' cx , ' tcx > , Span ) ,
1636
+ place_span : ( PlaceRef < ' tcx , ' tcx > , Span ) ,
1636
1637
flow_state : & Flows < ' cx , ' tcx > ,
1637
1638
) {
1638
1639
let maybe_uninits = & flow_state. uninits ;
@@ -1817,7 +1818,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
1817
1818
fn check_parent_of_field < ' cx , ' tcx > (
1818
1819
this : & mut MirBorrowckCtxt < ' cx , ' tcx > ,
1819
1820
location : Location ,
1820
- base : PlaceRef < ' cx , ' tcx > ,
1821
+ base : PlaceRef < ' tcx , ' tcx > ,
1821
1822
span : Span ,
1822
1823
flow_state : & Flows < ' cx , ' tcx > ,
1823
1824
) {
0 commit comments