diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-07 00:11:13 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-07 00:11:13 +0000 |
commit | c69bb8a7e737e09c667f9e343d0f1d3e4c13b8f7 (patch) | |
tree | d3d006919d15d6a26ff1a8091cf1e5341842c1aa /crates/ra_hir/src/ty/tests/data/let.txt | |
parent | 3c945ceb5e0dc287139de0589cc9a4b285911f17 (diff) | |
parent | d618b1f2ce25db8817d1649d7ec7720594789067 (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.txt | 7 |
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 | ||