diff options
author | csmoe <[email protected]> | 2019-06-18 14:46:47 +0100 |
---|---|---|
committer | csmoe <[email protected]> | 2019-06-18 14:46:47 +0100 |
commit | 5999733ca60e37c54d761b0a669e154b97b121b1 (patch) | |
tree | 6efb664e40e8b54d7339ebfe3914cecfa3b655d8 /crates/ra_parser/src/grammar | |
parent | 1541b2d689393221938d7cb935862f76395874e9 (diff) |
fix: box_syntax(#1412)
Change-Id: I6e20e0163fa545de37226c1561b3b7103615626c
Diffstat (limited to 'crates/ra_parser/src/grammar')
-rw-r--r-- | crates/ra_parser/src/grammar/expressions.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/ra_parser/src/grammar/expressions.rs b/crates/ra_parser/src/grammar/expressions.rs index 795dccea1..2ae05521c 100644 --- a/crates/ra_parser/src/grammar/expressions.rs +++ b/crates/ra_parser/src/grammar/expressions.rs | |||
@@ -583,3 +583,8 @@ pub(crate) fn named_field_list(p: &mut Parser) { | |||
583 | p.expect(T!['}']); | 583 | p.expect(T!['}']); |
584 | m.complete(p, NAMED_FIELD_LIST); | 584 | m.complete(p, NAMED_FIELD_LIST); |
585 | } | 585 | } |
586 | |||
587 | // test box_syntax | ||
588 | // fn foo() { | ||
589 | // let x = box 1i32; | ||
590 | // } | ||