@@ -2725,7 +2725,12 @@ fn fix_break_continue_sentinels_in_stmt(
27252725 else_branch,
27262726 ..
27272727 } => {
2728- fix_break_continue_sentinels_in_stmts ( then_branch, state_id, break_target, continue_target) ;
2728+ fix_break_continue_sentinels_in_stmts (
2729+ then_branch,
2730+ state_id,
2731+ break_target,
2732+ continue_target,
2733+ ) ;
27292734 if let Some ( eb) = else_branch. as_mut ( ) {
27302735 fix_break_continue_sentinels_in_stmts ( eb, state_id, break_target, continue_target) ;
27312736 }
@@ -2743,19 +2748,34 @@ fn fix_break_continue_sentinels_in_stmt(
27432748 } => {
27442749 fix_break_continue_sentinels_in_stmts ( body, state_id, break_target, continue_target) ;
27452750 if let Some ( c) = catch. as_mut ( ) {
2746- fix_break_continue_sentinels_in_stmts ( & mut c. body , state_id, break_target, continue_target) ;
2751+ fix_break_continue_sentinels_in_stmts (
2752+ & mut c. body ,
2753+ state_id,
2754+ break_target,
2755+ continue_target,
2756+ ) ;
27472757 }
27482758 if let Some ( f) = finally. as_mut ( ) {
27492759 fix_break_continue_sentinels_in_stmts ( f, state_id, break_target, continue_target) ;
27502760 }
27512761 }
27522762 Stmt :: Switch { cases, .. } => {
27532763 for case in cases. iter_mut ( ) {
2754- fix_break_continue_sentinels_in_stmts ( & mut case. body , state_id, break_target, continue_target) ;
2764+ fix_break_continue_sentinels_in_stmts (
2765+ & mut case. body ,
2766+ state_id,
2767+ break_target,
2768+ continue_target,
2769+ ) ;
27552770 }
27562771 }
27572772 Stmt :: Labeled { body, .. } => {
2758- fix_break_continue_sentinels_in_stmt ( body. as_mut ( ) , state_id, break_target, continue_target) ;
2773+ fix_break_continue_sentinels_in_stmt (
2774+ body. as_mut ( ) ,
2775+ state_id,
2776+ break_target,
2777+ continue_target,
2778+ ) ;
27592779 }
27602780 _ => { }
27612781 }
0 commit comments