File tree 3 files changed +4
-5
lines changed
rustc_hir_analysis/src/collect
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1036,7 +1036,7 @@ pub(super) fn const_conditions<'tcx>(
1036
1036
1037
1037
icx. lowerer ( ) . lower_bounds (
1038
1038
tcx. types . self_param ,
1039
- supertraits. into_iter ( ) ,
1039
+ supertraits,
1040
1040
& mut bounds,
1041
1041
ty:: List :: empty ( ) ,
1042
1042
PredicateFilter :: ConstIfConst ,
Original file line number Diff line number Diff line change @@ -367,9 +367,8 @@ fn calc_test_vectors_index(conditions: &mut Vec<MCDCBranch>) -> usize {
367
367
} )
368
368
. collect :: < FxIndexMap < _ , _ > > ( ) ;
369
369
370
- let mut queue = std:: collections:: VecDeque :: from_iter (
371
- next_conditions. swap_remove ( & ConditionId :: START ) . into_iter ( ) ,
372
- ) ;
370
+ let mut queue =
371
+ std:: collections:: VecDeque :: from_iter ( next_conditions. swap_remove ( & ConditionId :: START ) ) ;
373
372
num_paths_stats[ ConditionId :: START ] = 1 ;
374
373
let mut decision_end_nodes = Vec :: new ( ) ;
375
374
while let Some ( branch) = queue. pop_front ( ) {
Original file line number Diff line number Diff line change @@ -691,7 +691,7 @@ impl Subdiagnostic for LocalLabel<'_> {
691
691
for dtor in self . destructors {
692
692
dtor. add_to_diag_with ( diag, f) ;
693
693
}
694
- let msg = f ( diag, crate :: fluent_generated:: mir_transform_label_local_epilogue. into ( ) ) ;
694
+ let msg = f ( diag, crate :: fluent_generated:: mir_transform_label_local_epilogue) ;
695
695
diag. span_label ( self . span , msg) ;
696
696
}
697
697
}
You can’t perform that action at this time.
0 commit comments