Add test for nested box pattern

This commit is contained in:
Dylan MacKenzie 2019-08-22 11:26:13 -07:00
parent f3b320adf4
commit 3e14b16c4d
3 changed files with 51 additions and 12 deletions

View file

@ -414,6 +414,8 @@ pub(crate) fn match_arm_list(p: &mut Parser) {
// X | Y if Z => (),
// | X | Y if Z => (),
// | X => (),
// box X => (),
// Some(box X) => (),
// };
// }
fn match_arm(p: &mut Parser) -> BlockLike {