Add include paths to CompilerConfiguration

We'll try to load .60 files from those paths.
This commit is contained in:
Simon Hausmann 2020-07-16 18:34:57 +02:00
parent ada5f68908
commit 114b51f32b
2 changed files with 32 additions and 3 deletions

View file

@ -292,3 +292,11 @@ impl quote::ToTokens for BuildDiagnostics {
self.iter().for_each(|diag| diag.to_tokens(tokens))
}
}
impl Extend<FileDiagnostics> for BuildDiagnostics {
fn extend<T: IntoIterator<Item = FileDiagnostics>>(&mut self, iter: T) {
for diag in iter {
self.add(diag)
}
}
}