diff options
author | Aleksey Kladov <[email protected]> | 2018-07-31 13:33:51 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-07-31 13:33:51 +0100 |
commit | f843f23abae72ba3bd2920edc2a8635eafb61409 (patch) | |
tree | 34590d26e6c1c510013c103a1787f01e47cf03c7 /tests/data/parser/inline/0050_let_stmt;.rs | |
parent | 580340d1b879a434302d314ef6cd9f4cae0cd57d (diff) |
Type ascription in let
Diffstat (limited to 'tests/data/parser/inline/0050_let_stmt;.rs')
-rw-r--r-- | tests/data/parser/inline/0050_let_stmt;.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/data/parser/inline/0050_let_stmt;.rs b/tests/data/parser/inline/0050_let_stmt;.rs new file mode 100644 index 000000000..0a9af907f --- /dev/null +++ b/tests/data/parser/inline/0050_let_stmt;.rs | |||
@@ -0,0 +1,6 @@ | |||
1 | fn foo() { | ||
2 | let a; | ||
3 | let b: i32; | ||
4 | let c = 92; | ||
5 | let d: i32 = 92; | ||
6 | } | ||