From 3e14b16c4d67e6a87e21424dd56732b511724e04 Mon Sep 17 00:00:00 2001 From: Dylan MacKenzie Date: Thu, 22 Aug 2019 11:26:13 -0700 Subject: Add test for nested box pattern --- crates/ra_parser/src/grammar/expressions/atom.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/ra_parser/src') diff --git a/crates/ra_parser/src/grammar/expressions/atom.rs b/crates/ra_parser/src/grammar/expressions/atom.rs index bc942ae01..ab8fb9f6e 100644 --- a/crates/ra_parser/src/grammar/expressions/atom.rs +++ b/crates/ra_parser/src/grammar/expressions/atom.rs @@ -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 { -- cgit v1.2.3