@@ -1201,7 +1201,8 @@ impl<'ctx> MirLowerCtx<'ctx> {
1201
1201
let Some ( values) = elements
1202
1202
. iter ( )
1203
1203
. 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 {
1205
1206
return Ok ( None ) ;
1206
1207
} ;
1207
1208
current = c;
@@ -1259,7 +1260,8 @@ impl<'ctx> MirLowerCtx<'ctx> {
1259
1260
* expr,
1260
1261
rhs. project ( ProjectionElem :: TupleOrClosureField ( i) ) ,
1261
1262
span,
1262
- ) ? else {
1263
+ ) ?
1264
+ else {
1263
1265
return Ok ( None ) ;
1264
1266
} ;
1265
1267
current = c;
@@ -1268,8 +1270,7 @@ impl<'ctx> MirLowerCtx<'ctx> {
1268
1270
}
1269
1271
Expr :: Underscore => Ok ( Some ( current) ) ,
1270
1272
_ => {
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 ) ?
1273
1274
else {
1274
1275
return Ok ( None ) ;
1275
1276
} ;
@@ -1286,9 +1287,7 @@ impl<'ctx> MirLowerCtx<'ctx> {
1286
1287
rhs : ExprId ,
1287
1288
span : MirSpan ,
1288
1289
) -> 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 {
1292
1291
return Ok ( None ) ;
1293
1292
} ;
1294
1293
if matches ! ( & self . body. exprs[ lhs] , Expr :: Underscore ) {
@@ -1303,9 +1302,7 @@ impl<'ctx> MirLowerCtx<'ctx> {
1303
1302
self . push_assignment ( current, temp. clone ( ) , rhs_op. into ( ) , span) ;
1304
1303
return self . lower_destructing_assignment ( current, lhs, temp, span) ;
1305
1304
}
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 {
1309
1306
return Ok ( None ) ;
1310
1307
} ;
1311
1308
self . push_assignment ( current, lhs_place, rhs_op. into ( ) , span) ;
0 commit comments