diff options
author | Aleksey Kladov <[email protected]> | 2019-01-23 14:37:10 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-23 14:37:10 +0000 |
commit | 7b901f86cd1d0198994e5a2ab7eea18f444dd148 (patch) | |
tree | dfe8364efeeaca6f8f32e1d922fb615119b8012b /crates/ra_hir/src/ty | |
parent | 81fcfc55d247bfe6090741f2e4ae9aa89947bf32 (diff) |
move SyntaxPtr to ra_syntax
Diffstat (limited to 'crates/ra_hir/src/ty')
-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 9bf1fd3b2..92c74cf00 100644 --- a/crates/ra_hir/src/ty/tests.rs +++ b/crates/ra_hir/src/ty/tests.rs | |||
@@ -562,7 +562,7 @@ fn infer(content: &str) -> String { | |||
562 | // sort ranges for consistency | 562 | // sort ranges for consistency |
563 | types.sort_by_key(|(ptr, _)| (ptr.range().start(), ptr.range().end())); | 563 | types.sort_by_key(|(ptr, _)| (ptr.range().start(), ptr.range().end())); |
564 | for (syntax_ptr, ty) in &types { | 564 | for (syntax_ptr, ty) in &types { |
565 | let node = syntax_ptr.resolve(&source_file); | 565 | let node = syntax_ptr.to_node(&source_file); |
566 | write!( | 566 | write!( |
567 | acc, | 567 | acc, |
568 | "{} '{}': {}\n", | 568 | "{} '{}': {}\n", |