From 6210e82041849bad6129331b9e45ac0bae6fe569 Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Sun, 6 Jan 2019 16:47:59 +0100 Subject: Use HIR Expr for type inference Now we can reuse the type inference inside a function when typing whitespace etc. :) --- crates/ra_hir/src/ty/tests/data/0005_refs.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_hir/src/ty/tests/data/0005_refs.txt') diff --git a/crates/ra_hir/src/ty/tests/data/0005_refs.txt b/crates/ra_hir/src/ty/tests/data/0005_refs.txt index 296e955c1..cc32162a1 100644 --- a/crates/ra_hir/src/ty/tests/data/0005_refs.txt +++ b/crates/ra_hir/src/ty/tests/data/0005_refs.txt @@ -6,9 +6,9 @@ [46; 47) 'd': *mut u32 [59; 150) '{ ... *d; }': () [116; 117) 'b': &mut u32 +[72; 74) '*a': u32 [131; 132) 'c': *const u32 [130; 132) '*c': u32 -[72; 74) '*a': u32 [107; 109) '*b': u32 [108; 109) 'b': &mut u32 [9; 10) 'a': &u32 @@ -17,7 +17,7 @@ [100; 101) 'b': &mut u32 [81; 82) 'a': &u32 [80; 82) '&a': &&u32 -[73; 74) 'a': &u32 [123; 124) 'c': *const u32 +[73; 74) 'a': &u32 [31; 32) 'c': *const u32 [138; 139) 'd': *mut u32 -- cgit v1.2.3