migrate to untyped rowan

This commit is contained in:
Aleksey Kladov 2019-04-09 01:06:30 +03:00
parent ac6ab07587
commit faf526e021
10 changed files with 192 additions and 158 deletions

View file

@ -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
}