aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/tests/data/0002_let.rs
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2018-12-23 12:22:29 +0000
committerFlorian Diebold <[email protected]>2018-12-23 13:01:50 +0000
commit93ffbf80c632a7d38fc8bbdf6357bfd26a96a35a (patch)
tree59c9f26c70ffa45f599b711cd2b6233e865ccd8b /crates/ra_hir/src/ty/tests/data/0002_let.rs
parent5d609370900402db84beb3d7e28487256c6042c2 (diff)
Make let statements kind of work
Diffstat (limited to 'crates/ra_hir/src/ty/tests/data/0002_let.rs')
-rw-r--r--crates/ra_hir/src/ty/tests/data/0002_let.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/ra_hir/src/ty/tests/data/0002_let.rs b/crates/ra_hir/src/ty/tests/data/0002_let.rs
new file mode 100644
index 000000000..5641da75b
--- /dev/null
+++ b/crates/ra_hir/src/ty/tests/data/0002_let.rs
@@ -0,0 +1,5 @@
1fn test() {
2 let a = 1isize;
3 let b: usize = 1;
4 let c = b;
5}