diff options
author | Dylan MacKenzie <[email protected]> | 2019-08-24 00:19:23 +0100 |
---|---|---|
committer | Dylan MacKenzie <[email protected]> | 2019-08-24 00:19:53 +0100 |
commit | 83433cd1f0ce2ebe1818caa6793f61372e4fa5a6 (patch) | |
tree | e2f1bfac78356dcbb8d7c4d88eb78f883577d44b /crates/ra_syntax | |
parent | 1e991f2eaf3f6a69db3622122f0617e7937a1439 (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.rs | 6 |
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 @@ | |||
1 | fn main() { | ||
2 | let ref box i = (); | ||
3 | let mut box i = (); | ||
4 | let ref mut box i = (); | ||
5 | } | ||
6 | |||