mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Fix test
This commit is contained in:
parent
fabb804f30
commit
2b210d98b8
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue