From 83433cd1f0ce2ebe1818caa6793f61372e4fa5a6 Mon Sep 17 00:00:00 2001 From: Dylan MacKenzie Date: Fri, 23 Aug 2019 16:19:23 -0700 Subject: Centralize `box` pattern tests in `patterns.rs` --- crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rs (limited to 'crates/ra_syntax') diff --git a/crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rs b/crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rs new file mode 100644 index 000000000..d3fa2e468 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rs @@ -0,0 +1,6 @@ +fn main() { + let ref box i = (); + let mut box i = (); + let ref mut box i = (); +} + -- cgit v1.2.3