Skip to content

Commit 26c0eac

Browse files
Add test for nested box pattern
1 parent 4912cc3 commit 26c0eac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/ra_syntax/test_data/parser/inline/ok/0066_match_arm.rs

+2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@ fn foo() {
55
X | Y if Z => (),
66
| X | Y if Z => (),
77
| X => (),
8+
box X => (),
9+
Some(box X) => (),
810
};
911
}

0 commit comments

Comments
 (0)