diff options
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() |