aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-10-31 21:00:43 +0000
committerAleksey Kladov <[email protected]>2018-10-31 21:00:43 +0000
commit2b210d98b8807e0dfd6762a2974388fca7ee1ee9 (patch)
treea518b3040aa3bc465687393db71dedd054c9250c /crates/ra_analysis/src
parentfabb804f3091e1cf0f8c289fcb15a8d39bc960a5 (diff)
Fix test
Diffstat (limited to 'crates/ra_analysis/src')
-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()