@@ -1201,7 +1201,8 @@ impl<'ctx> MirLowerCtx<'ctx> {
12011201 let Some ( values) = elements
12021202 . iter ( )
12031203 . map ( |it| {
1204- let Some ( ( o, c) ) = self . lower_expr_to_some_operand ( * it, current) ? else {
1204+ let Some ( ( o, c) ) = self . lower_expr_to_some_operand ( * it, current) ?
1205+ else {
12051206 return Ok ( None ) ;
12061207 } ;
12071208 current = c;
@@ -1259,7 +1260,8 @@ impl<'ctx> MirLowerCtx<'ctx> {
12591260 * expr,
12601261 rhs. project ( ProjectionElem :: TupleOrClosureField ( i) ) ,
12611262 span,
1262- ) ? else {
1263+ ) ?
1264+ else {
12631265 return Ok ( None ) ;
12641266 } ;
12651267 current = c;
@@ -1268,8 +1270,7 @@ impl<'ctx> MirLowerCtx<'ctx> {
12681270 }
12691271 Expr :: Underscore => Ok ( Some ( current) ) ,
12701272 _ => {
1271- let Some ( ( lhs_place, current) ) =
1272- self . lower_expr_as_place ( current, lhs, false ) ?
1273+ let Some ( ( lhs_place, current) ) = self . lower_expr_as_place ( current, lhs, false ) ?
12731274 else {
12741275 return Ok ( None ) ;
12751276 } ;
@@ -1286,9 +1287,7 @@ impl<'ctx> MirLowerCtx<'ctx> {
12861287 rhs : ExprId ,
12871288 span : MirSpan ,
12881289 ) -> Result < Option < BasicBlockId > > {
1289- let Some ( ( rhs_op, current) ) =
1290- self . lower_expr_to_some_operand ( rhs, current) ?
1291- else {
1290+ let Some ( ( rhs_op, current) ) = self . lower_expr_to_some_operand ( rhs, current) ? else {
12921291 return Ok ( None ) ;
12931292 } ;
12941293 if matches ! ( & self . body. exprs[ lhs] , Expr :: Underscore ) {
@@ -1303,9 +1302,7 @@ impl<'ctx> MirLowerCtx<'ctx> {
13031302 self . push_assignment ( current, temp. clone ( ) , rhs_op. into ( ) , span) ;
13041303 return self . lower_destructing_assignment ( current, lhs, temp, span) ;
13051304 }
1306- let Some ( ( lhs_place, current) ) =
1307- self . lower_expr_as_place ( current, lhs, false ) ?
1308- else {
1305+ let Some ( ( lhs_place, current) ) = self . lower_expr_as_place ( current, lhs, false ) ? else {
13091306 return Ok ( None ) ;
13101307 } ;
13111308 self . push_assignment ( current, lhs_place, rhs_op. into ( ) , span) ;
0 commit comments