File tree 1 file changed +3
-3
lines changed
src/librustc/hir/lowering
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1122,7 +1122,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
1122
1122
let stmt = this. stmt_let_pat (
1123
1123
stmt_attrs,
1124
1124
desugared_span,
1125
- Some ( this . arena . alloc ( expr) ) ,
1125
+ Some ( expr) ,
1126
1126
parameter. pat ,
1127
1127
hir:: LocalSource :: AsyncFn ,
1128
1128
) ;
@@ -1152,7 +1152,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
1152
1152
let move_stmt = this. stmt_let_pat (
1153
1153
AttrVec :: new ( ) ,
1154
1154
desugared_span,
1155
- Some ( this . arena . alloc ( move_expr) ) ,
1155
+ Some ( move_expr) ,
1156
1156
move_pat,
1157
1157
hir:: LocalSource :: AsyncFn ,
1158
1158
) ;
@@ -1163,7 +1163,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
1163
1163
let pattern_stmt = this. stmt_let_pat (
1164
1164
stmt_attrs,
1165
1165
desugared_span,
1166
- Some ( this . arena . alloc ( pattern_expr) ) ,
1166
+ Some ( pattern_expr) ,
1167
1167
parameter. pat ,
1168
1168
hir:: LocalSource :: AsyncFn ,
1169
1169
) ;
You can’t perform that action at this time.
0 commit comments