From 2b210d98b8807e0dfd6762a2974388fca7ee1ee9 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 1 Nov 2018 00:00:43 +0300 Subject: Fix test --- crates/ra_analysis/src/syntax_ptr.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ra_analysis/src') 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 { #[test] fn test_local_syntax_ptr() { + use ra_syntax::{ast, AstNode}; let file = File::parse("struct Foo { f: u32, }"); let field = file .syntax() -- cgit v1.2.3