aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/tests/data/let.txt
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-01-07 00:11:13 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-01-07 00:11:13 +0000
commitc69bb8a7e737e09c667f9e343d0f1d3e4c13b8f7 (patch)
treed3d006919d15d6a26ff1a8091cf1e5341842c1aa /crates/ra_hir/src/ty/tests/data/let.txt
parent3c945ceb5e0dc287139de0589cc9a4b285911f17 (diff)
parentd618b1f2ce25db8817d1649d7ec7720594789067 (diff)
Merge #446
446: Use HIR Expr for type inference r=flodiebold a=flodiebold Now we can reuse the type inference inside a function when typing whitespace etc. :) The order of the lines in the type tests changed a bit, which I'm not sure why, but there are no actual changes in the inference results. Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/ty/tests/data/let.txt')
-rw-r--r--crates/ra_hir/src/ty/tests/data/let.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/ra_hir/src/ty/tests/data/let.txt b/crates/ra_hir/src/ty/tests/data/let.txt
new file mode 100644
index 000000000..30f4a2cf5
--- /dev/null
+++ b/crates/ra_hir/src/ty/tests/data/let.txt
@@ -0,0 +1,7 @@
1[11; 71) '{ ...= b; }': ()
2[21; 22) 'a': [unknown]
3[25; 31) '1isize': [unknown]
4[41; 42) 'b': usize
5[52; 53) '1': usize
6[63; 64) 'c': usize
7[67; 68) 'b': usize