File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -2933,4 +2933,4 @@ impl<'tcx> TypeFoldable<'tcx> for Literal<'tcx> {
29332933 }
29342934}
29352935
2936- newtype_index ! ( LocalWithRegion ) ;
2936+ newtype_index ! ( LocalWithRegion ) ;
Original file line number Diff line number Diff line change @@ -408,7 +408,10 @@ impl ToRegionVid for RegionVid {
408408 }
409409}
410410
411- fn live_variable_set ( regular : & LocalSet < LocalWithRegion > , drops : & LocalSet < LocalWithRegion > ) -> String {
411+ fn live_variable_set (
412+ regular : & LocalSet < LocalWithRegion > ,
413+ drops : & LocalSet < LocalWithRegion >
414+ ) -> String {
412415 // sort and deduplicate:
413416 let all_locals: BTreeSet < _ > = regular. iter ( ) . chain ( drops. iter ( ) ) . collect ( ) ;
414417
Original file line number Diff line number Diff line change @@ -570,7 +570,10 @@ impl LiveVariableMap for NllLivenessMap {
570570impl NllLivenessMap {
571571 pub fn compute ( mir : & Mir ) -> Self {
572572 let mut to_local = IndexVec :: default ( ) ;
573- let from_local: IndexVec < Local , Option < _ > > = mir. local_decls . iter_enumerated ( ) . map ( |( local, local_decl) | {
573+ let from_local: IndexVec < Local , Option < _ > > = mir
574+ . local_decls
575+ . iter_enumerated ( )
576+ . map ( |( local, local_decl) | {
574577 if local_decl. ty . has_free_regions ( ) {
575578 Some ( to_local. push ( local) )
576579 }
@@ -582,4 +585,3 @@ impl NllLivenessMap {
582585 Self { from_local, to_local }
583586 }
584587}
585-
You can’t perform that action at this time.
0 commit comments