Skip to content

Commit

Permalink
Fix build backporting rust-lang#51052
Browse files Browse the repository at this point in the history
  • Loading branch information
pietroalbini committed Jun 3, 2018
1 parent 201fc48 commit 561310c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax/parse/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2805,7 +2805,7 @@ impl<'a> Parser<'a> {
)?;
let blk = self.parse_block()?;
let span = blk.span;
let blk_expr = self.mk_expr(span, ExprKind::Block(blk, None), ThinVec::new());
let blk_expr = self.mk_expr(span, ExprKind::Block(blk), ThinVec::new());
(lo.to(span), ExprKind::ObsoleteInPlace(place, blk_expr))
}
token::Ident(..) if self.token.is_keyword(keywords::Box) => {
Expand Down

0 comments on commit 561310c

Please sign in to comment.