diff options
Diffstat (limited to 'crates/ra_hir/src/ty/tests.rs')
-rw-r--r-- | crates/ra_hir/src/ty/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/ty/tests.rs b/crates/ra_hir/src/ty/tests.rs index e0458327a..021227749 100644 --- a/crates/ra_hir/src/ty/tests.rs +++ b/crates/ra_hir/src/ty/tests.rs | |||
@@ -26,7 +26,7 @@ fn infer_file(content: &str) -> String { | |||
26 | .unwrap() | 26 | .unwrap() |
27 | .unwrap(); | 27 | .unwrap(); |
28 | let inference_result = func.infer(&db).unwrap(); | 28 | let inference_result = func.infer(&db).unwrap(); |
29 | for (syntax_ptr, ty) in &inference_result.type_for { | 29 | for (syntax_ptr, ty) in &inference_result.type_of { |
30 | let node = syntax_ptr.resolve(&source_file); | 30 | let node = syntax_ptr.resolve(&source_file); |
31 | write!( | 31 | write!( |
32 | acc, | 32 | acc, |