diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0112_bind_pat.rs')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0112_bind_pat.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0112_bind_pat.rs b/crates/ra_syntax/test_data/parser/inline/ok/0112_bind_pat.rs new file mode 100644 index 000000000..5a93469af --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0112_bind_pat.rs | |||
@@ -0,0 +1,9 @@ | |||
1 | fn main() { | ||
2 | let a = (); | ||
3 | let mut b = (); | ||
4 | let ref c = (); | ||
5 | let ref mut d = (); | ||
6 | let e @ _ = (); | ||
7 | let ref mut f @ g @ _ = (); | ||
8 | let box i = Box::new(1i32); | ||
9 | } | ||