Skip to content

Commit 561310c

Browse files
committed
Fix build backporting rust-lang#51052
1 parent 201fc48 commit 561310c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/parse/parser.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2805,7 +2805,7 @@ impl<'a> Parser<'a> {
28052805
)?;
28062806
let blk = self.parse_block()?;
28072807
let span = blk.span;
2808-
let blk_expr = self.mk_expr(span, ExprKind::Block(blk, None), ThinVec::new());
2808+
let blk_expr = self.mk_expr(span, ExprKind::Block(blk), ThinVec::new());
28092809
(lo.to(span), ExprKind::ObsoleteInPlace(place, blk_expr))
28102810
}
28112811
token::Ident(..) if self.token.is_keyword(keywords::Box) => {

0 commit comments

Comments
 (0)