aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax
diff options
context:
space:
mode:
authorDylan MacKenzie <[email protected]>2019-08-24 00:19:23 +0100
committerDylan MacKenzie <[email protected]>2019-08-24 00:19:53 +0100
commit83433cd1f0ce2ebe1818caa6793f61372e4fa5a6 (patch)
treee2f1bfac78356dcbb8d7c4d88eb78f883577d44b /crates/ra_syntax
parent1e991f2eaf3f6a69db3622122f0617e7937a1439 (diff)
Centralize `box` pattern tests in `patterns.rs`
Diffstat (limited to 'crates/ra_syntax')
-rw-r--r--crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rs6
1 files changed, 6 insertions, 0 deletions
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 @@
1fn main() {
2 let ref box i = ();
3 let mut box i = ();
4 let ref mut box i = ();
5}
6