make HirDatabase object-safe

This commit is contained in:
Aleksey Kladov 2019-02-03 22:15:31 +03:00
parent 395965351d
commit dbf9820e35
5 changed files with 26 additions and 16 deletions

View file

@ -60,8 +60,6 @@ impl salsa::ParallelDatabase for RootDatabase {
}
}
impl CheckCanceled for RootDatabase {}
impl AsRef<hir::HirInterner> for RootDatabase {
fn as_ref(&self) -> &hir::HirInterner {
&self.interner