Skip to content

Commit

Permalink
fix: box_syntax(rust-lang#1412)
Browse files Browse the repository at this point in the history
Change-Id: I6e20e0163fa545de37226c1561b3b7103615626c
  • Loading branch information
csmoe committed Jun 18, 2019
1 parent 1541b2d commit 5999733
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/ra_parser/src/grammar/expressions.rs
Expand Up @@ -583,3 +583,8 @@ pub(crate) fn named_field_list(p: &mut Parser) {
p.expect(T!['}']);
m.complete(p, NAMED_FIELD_LIST);
}

// test box_syntax
// fn foo() {
// let x = box 1i32;
// }
@@ -0,0 +1,3 @@
fn foo() {
let x = box 1i32;
}

0 comments on commit 5999733

Please sign in to comment.