mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
migrate to untyped rowan
This commit is contained in:
parent
ac6ab07587
commit
faf526e021
10 changed files with 192 additions and 158 deletions
|
@ -79,7 +79,7 @@ impl SourceFile {
|
|||
}
|
||||
|
||||
pub fn errors(&self) -> Vec<SyntaxError> {
|
||||
let mut errors = self.syntax.root_data().clone();
|
||||
let mut errors = self.syntax.root_data().to_vec();
|
||||
errors.extend(validation::validate(self));
|
||||
errors
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue