diff options
Diffstat (limited to 'crates/syntax/test_data/parser/inline/ok/0143_box_pat.rs')
-rw-r--r-- | crates/syntax/test_data/parser/inline/ok/0143_box_pat.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/syntax/test_data/parser/inline/ok/0143_box_pat.rs b/crates/syntax/test_data/parser/inline/ok/0143_box_pat.rs new file mode 100644 index 000000000..9d458aa1e --- /dev/null +++ b/crates/syntax/test_data/parser/inline/ok/0143_box_pat.rs | |||
@@ -0,0 +1,5 @@ | |||
1 | fn main() { | ||
2 | let box i = (); | ||
3 | let box Outer { box i, j: box Inner(box &x) } = (); | ||
4 | let box ref mut i = (); | ||
5 | } | ||