Skip to content

Commit 20149b2

Browse files
Add test for box Struct{ .. } pattern
1 parent fdece91 commit 20149b2

File tree

1 file changed

+1
-0
lines changed
  • crates/ra_parser/src/grammar/expressions

1 file changed

+1
-0
lines changed

crates/ra_parser/src/grammar/expressions/atom.rs

+1
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@ pub(crate) fn match_arm_list(p: &mut Parser) {
416416
// | X => (),
417417
// box X => (),
418418
// Some(box X) => (),
419+
// Some(box Test{field: 0}) => (),
419420
// };
420421
// }
421422
fn match_arm(p: &mut Parser) -> BlockLike {

0 commit comments

Comments
 (0)