diff options
author | Aleksey Kladov <[email protected]> | 2018-10-31 21:00:43 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-10-31 21:00:43 +0000 |
commit | 2b210d98b8807e0dfd6762a2974388fca7ee1ee9 (patch) | |
tree | a518b3040aa3bc465687393db71dedd054c9250c /crates/ra_analysis | |
parent | fabb804f3091e1cf0f8c289fcb15a8d39bc960a5 (diff) |
Fix test
Diffstat (limited to 'crates/ra_analysis')
-rw-r--r-- | crates/ra_analysis/src/syntax_ptr.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_analysis/src/syntax_ptr.rs b/crates/ra_analysis/src/syntax_ptr.rs index 71e51e702..7b89ecbc8 100644 --- a/crates/ra_analysis/src/syntax_ptr.rs +++ b/crates/ra_analysis/src/syntax_ptr.rs | |||
@@ -72,6 +72,7 @@ impl LocalSyntaxPtr { | |||
72 | 72 | ||
73 | #[test] | 73 | #[test] |
74 | fn test_local_syntax_ptr() { | 74 | fn test_local_syntax_ptr() { |
75 | use ra_syntax::{ast, AstNode}; | ||
75 | let file = File::parse("struct Foo { f: u32, }"); | 76 | let file = File::parse("struct Foo { f: u32, }"); |
76 | let field = file | 77 | let field = file |
77 | .syntax() | 78 | .syntax() |