@@ -170,30 +170,30 @@ impl<'tcx> FunctionCoverage<'tcx> {
170170        // `expression_index`s lower than the referencing `Expression`. Therefore, it is 
171171        // reasonable to look up the new index of an expression operand while the `new_indexes` 
172172        // vector is only complete up to the current `ExpressionIndex`. 
173-         let  id_to_counter =
174-             | new_indexes :   & IndexVec < InjectedExpressionIndex ,   Option < MappedExpressionIndex > > , 
175-               id :   ExpressionOperandId |  { 
176-                  if  id ==  ExpressionOperandId :: ZERO   { 
177-                     Some ( Counter :: zero ( ) ) 
178-                  }   else   if  id. index ( )  <  self . counters . len ( )  { 
179-                      // Note:  Some codegen-injected Counters may be only referenced by `Expression`s, 
180-                      // and may not have their own `CodeRegion`s, 
181-                      let  index =  CounterValueReference :: from ( id . index ( ) ) ; 
182-                      Some ( Counter :: counter_value_reference ( index ) ) 
183-                 }   else   { 
184-                      let  index =  self . expression_index ( u32 :: from ( id ) ) ; 
185-                      self . expressions 
186-                          . get ( index ) 
187-                          . expect ( "expression id is out of range" ) 
188-                          . as_ref ( ) 
189-                          // If an  expression was optimized  out, assume it would have produced a count 
190-                          // of zero. This ensures that expressions dependent on optimized-out 
191-                          // expressions are still valid. 
192-                          . map_or ( Some ( Counter :: zero ( ) ) ,  |_|  { 
193-                             new_indexes [ index ] . map ( |new_index|  Counter :: expression ( new_index ) ) 
194-                          } ) 
195-                  } 
196-              } ; 
173+         let  id_to_counter = | new_indexes :   & IndexVec < 
174+             InjectedExpressionIndex , 
175+             Option < MappedExpressionIndex > , 
176+         > , 
177+                               id :   ExpressionOperandId |  { 
178+             if  id ==  ExpressionOperandId :: ZERO  { 
179+                 Some ( Counter :: zero ( ) ) 
180+             }   else   if  id . index ( )  <  self . counters . len ( )   { 
181+                 // Note: Some codegen-injected Counters may be only referenced by `Expression`s, 
182+                 // and may not have their own `CodeRegion`s, 
183+                 let  index =  CounterValueReference :: from ( id . index ( ) ) ; 
184+                 Some ( Counter :: counter_value_reference ( index ) ) 
185+             }   else   { 
186+                 let  index =  self . expression_index ( u32 :: from ( id ) ) ; 
187+                 self . expressions 
188+                     . get ( index ) 
189+                     . expect ( " expression id is  out of range" ) 
190+                     . as_ref ( ) 
191+                     // If an expression was optimized out, assume it would have produced a count 
192+                     // of zero. This ensures that expressions dependent on optimized-out 
193+                     // expressions are still valid. 
194+                     . map_or ( Some ( Counter :: zero ( ) ) ,  |_| new_indexes [ index ] . map ( Counter :: expression ) ) 
195+             } 
196+         } ; 
197197
198198        for  ( original_index,  expression)  in 
199199            self . expressions . iter_enumerated ( ) . filter_map ( |( original_index,  entry) | { 
0 commit comments