This commit is contained in:
zjy 2019-06-26 11:36:14 +08:00
parent 0129790a8f
commit de930237ff
4 changed files with 90 additions and 7 deletions

View file

@ -181,6 +181,17 @@ pub(crate) fn expr_block_contents(p: &mut Parser) {
// fn foo(){
// ;;;some_expr();;;;{;;;};;;;Ok(())
// }
// test nocontentexpr_after_item
// fn simple_function() {
// enum LocalEnum {
// One,
// Two,
// };
// fn f() {};
// struct S {};
// }
if p.current() == T![;] {
p.bump();
continue;