parent
b22c152958
commit
5311938531
8 changed files with 86 additions and 15 deletions
|
@ -2039,7 +2039,7 @@ impl<'a> Parser<'a> {
|
|||
});
|
||||
}
|
||||
|
||||
let (attrs, blk) = self.parse_block_common(lo, blk_mode)?;
|
||||
let (attrs, blk) = self.parse_block_common(lo, blk_mode, true)?;
|
||||
Ok(self.mk_expr_with_attrs(blk.span, ExprKind::Block(blk, opt_label), attrs))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue