This commit is contained in:
Aleksey Kladov 2018-11-01 00:00:43 +03:00
parent fabb804f30
commit 2b210d98b8

View File

@ -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()