mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Fixup tests
This commit is contained in:
parent
606d66a714
commit
a9a6a50c75
12 changed files with 284 additions and 212 deletions
|
@ -59,7 +59,7 @@ impl SourceFile {
|
|||
assert_eq!(root.kind(), SyntaxKind::SOURCE_FILE);
|
||||
TreeArc::cast(root)
|
||||
}
|
||||
|
||||
|
||||
pub fn parse(text: &str) -> TreeArc<SourceFile> {
|
||||
let tokens = tokenize(&text);
|
||||
let (green, errors) =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue