diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rs')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rs b/crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rs new file mode 100644 index 000000000..86803fe08 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rs | |||
@@ -0,0 +1,8 @@ | |||
1 | fn foo() { | ||
2 | let a; | ||
3 | let b: i32; | ||
4 | let c = 92; | ||
5 | let d: i32 = 92; | ||
6 | let e: !; | ||
7 | let _: ! = {}; | ||
8 | } | ||