@@ -468,11 +468,10 @@ crate struct MirBorrowckCtxt<'cx, 'tcx> {
468468     /// `BTreeMap` is used to preserve the order of insertions when iterating. This is necessary 
469469     /// when errors in the map are being re-added to the error buffer so that errors with the 
470470     /// same primary span come out in a consistent order. 
471-      move_error_reported : 
472-         BTreeMap < Vec < MoveOutIndex > ,  ( PlaceRef < ' tcx ,  ' tcx > ,  DiagnosticBuilder < ' cx > ) > , 
471+      move_error_reported :  BTreeMap < Vec < MoveOutIndex > ,  ( PlaceRef < ' tcx > ,  DiagnosticBuilder < ' cx > ) > , 
473472    /// This field keeps track of errors reported in the checking of uninitialized variables, 
474473     /// so that we don't report seemingly duplicate errors. 
475-      uninitialized_error_reported :  FxHashSet < PlaceRef < ' tcx ,   ' tcx > > , 
474+      uninitialized_error_reported :  FxHashSet < PlaceRef < ' tcx > > , 
476475    /// Errors to be reported buffer 
477476     errors_buffer :  Vec < Diagnostic > , 
478477    /// This field keeps track of all the local variables that are declared mut and are mutated. 
@@ -1528,7 +1527,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
15281527        & mut  self , 
15291528        location :  Location , 
15301529        desired_action :  InitializationRequiringAction , 
1531-         place_span :  ( PlaceRef < ' tcx ,   ' tcx > ,  Span ) , 
1530+         place_span :  ( PlaceRef < ' tcx > ,  Span ) , 
15321531        flow_state :  & Flows < ' cx ,  ' tcx > , 
15331532    )  { 
15341533        let  maybe_uninits = & flow_state. uninits ; 
@@ -1594,7 +1593,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
15941593        & mut  self , 
15951594        location :  Location , 
15961595        desired_action :  InitializationRequiringAction , 
1597-         place_span :  ( PlaceRef < ' tcx ,   ' tcx > ,  Span ) , 
1596+         place_span :  ( PlaceRef < ' tcx > ,  Span ) , 
15981597        maybe_uninits :  & BitSet < MovePathIndex > , 
15991598        from :  u32 , 
16001599        to :  u32 , 
@@ -1633,7 +1632,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
16331632        & mut  self , 
16341633        location :  Location , 
16351634        desired_action :  InitializationRequiringAction , 
1636-         place_span :  ( PlaceRef < ' tcx ,   ' tcx > ,  Span ) , 
1635+         place_span :  ( PlaceRef < ' tcx > ,  Span ) , 
16371636        flow_state :  & Flows < ' cx ,  ' tcx > , 
16381637    )  { 
16391638        let  maybe_uninits = & flow_state. uninits ; 
@@ -1711,10 +1710,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
17111710     /// An Err result includes a tag indicated why the search failed. 
17121711     /// Currently this can only occur if the place is built off of a 
17131712     /// static variable, as we do not track those in the MoveData. 
1714-      fn  move_path_closest_to ( 
1715-         & mut  self , 
1716-         place :  PlaceRef < ' tcx ,  ' tcx > , 
1717-     )  -> ( PlaceRef < ' tcx ,  ' tcx > ,  MovePathIndex )  { 
1713+      fn  move_path_closest_to ( & mut  self ,  place :  PlaceRef < ' tcx > )  -> ( PlaceRef < ' tcx > ,  MovePathIndex )  { 
17181714        match  self . move_data . rev_lookup . find ( place)  { 
17191715            LookupResult :: Parent ( Some ( mpi) )  | LookupResult :: Exact ( mpi)  => { 
17201716                ( self . move_data . move_paths [ mpi] . place . as_ref ( ) ,  mpi) 
@@ -1723,7 +1719,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
17231719        } 
17241720    } 
17251721
1726-     fn  move_path_for_place ( & mut  self ,  place :  PlaceRef < ' tcx ,   ' tcx > )  -> Option < MovePathIndex >  { 
1722+     fn  move_path_for_place ( & mut  self ,  place :  PlaceRef < ' tcx > )  -> Option < MovePathIndex >  { 
17271723        // If returns None, then there is no move path corresponding 
17281724        // to a direct owner of `place` (which means there is nothing 
17291725        // that borrowck tracks for its analysis). 
@@ -1818,7 +1814,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
18181814        fn  check_parent_of_field < ' cx ,  ' tcx > ( 
18191815            this :  & mut  MirBorrowckCtxt < ' cx ,  ' tcx > , 
18201816            location :  Location , 
1821-             base :  PlaceRef < ' tcx ,   ' tcx > , 
1817+             base :  PlaceRef < ' tcx > , 
18221818            span :  Span , 
18231819            flow_state :  & Flows < ' cx ,  ' tcx > , 
18241820        )  { 
@@ -2067,9 +2063,9 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
20672063     /// Returns the root place if the place passed in is a projection. 
20682064     fn  is_mutable ( 
20692065        & self , 
2070-         place :  PlaceRef < ' tcx ,   ' tcx > , 
2066+         place :  PlaceRef < ' tcx > , 
20712067        is_local_mutation_allowed :  LocalMutationIsAllowed , 
2072-     )  -> Result < RootPlace < ' tcx > ,  PlaceRef < ' tcx ,   ' tcx > >  { 
2068+     )  -> Result < RootPlace < ' tcx > ,  PlaceRef < ' tcx > >  { 
20732069        match  place { 
20742070            PlaceRef  {  local,  projection :  [ ]  }  => { 
20752071                let  local = & self . body . local_decls [ local] ; 
@@ -2220,7 +2216,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
22202216     /// then returns the index of the field being projected. Note that this closure will always 
22212217     /// be `self` in the current MIR, because that is the only time we directly access the fields 
22222218     /// of a closure type. 
2223-      pub  fn  is_upvar_field_projection ( & self ,  place_ref :  PlaceRef < ' tcx ,   ' tcx > )  -> Option < Field >  { 
2219+      pub  fn  is_upvar_field_projection ( & self ,  place_ref :  PlaceRef < ' tcx > )  -> Option < Field >  { 
22242220        let  mut  place_projection = place_ref. projection ; 
22252221        let  mut  by_ref = false ; 
22262222
0 commit comments