aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_analysis/src/syntax_ptr.rs1
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]
74fn test_local_syntax_ptr() { 74fn 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()