Skip to content

Commit 5999733

Browse files
committed
fix: box_syntax(rust-lang#1412)
Change-Id: I6e20e0163fa545de37226c1561b3b7103615626c
1 parent 1541b2d commit 5999733

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

crates/ra_parser/src/grammar/expressions.rs

+5
Original file line numberDiff line numberDiff line change
@@ -583,3 +583,8 @@ pub(crate) fn named_field_list(p: &mut Parser) {
583583
p.expect(T!['}']);
584584
m.complete(p, NAMED_FIELD_LIST);
585585
}
586+
587+
// test box_syntax
588+
// fn foo() {
589+
// let x = box 1i32;
590+
// }
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fn foo() {
2+
let x = box 1i32;
3+
}

0 commit comments

Comments
 (0)