aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/tests/data/parser/inline/ok/0130_let_stmt.rs
diff options
context:
space:
mode:
authorcsmoe <[email protected]>2019-06-07 12:49:49 +0100
committercsmoe <[email protected]>2019-06-07 12:49:49 +0100
commit205a8278a9da4bc1289449b916468e972fb624fc (patch)
treef5bf82c3a01ffabe0827f912696e2801973184f8 /crates/ra_syntax/tests/data/parser/inline/ok/0130_let_stmt.rs
parent8ba5617613705e82c9f9d4de54985c6a57251ab1 (diff)
fix: never type with binding
Change-Id: I14e1bc628b9d2dfdb1f40de3d3707f4e872767f2
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0130_let_stmt.rs')
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/ok/0130_let_stmt.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0130_let_stmt.rs b/crates/ra_syntax/tests/data/parser/inline/ok/0130_let_stmt.rs
new file mode 100644
index 000000000..86803fe08
--- /dev/null
+++ b/crates/ra_syntax/tests/data/parser/inline/ok/0130_let_stmt.rs
@@ -0,0 +1,8 @@
1fn foo() {
2 let a;
3 let b: i32;
4 let c = 92;
5 let d: i32 = 92;
6 let e: !;
7 let _: ! = {};
8}