diff options
Diffstat (limited to 'crates/hir/src/db.rs')
-rw-r--r-- | crates/hir/src/db.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/crates/hir/src/db.rs b/crates/hir/src/db.rs index ffc8155b9..19898f683 100644 --- a/crates/hir/src/db.rs +++ b/crates/hir/src/db.rs | |||
@@ -1,5 +1,8 @@ | |||
1 | //! FIXME: write short doc here | 1 | //! Re-exports various subcrates databases so that the calling code can depend |
2 | 2 | //! only on `hir`. This breaks abstraction boundary a bit, it would be cool if | |
3 | //! we didn't do that. | ||
4 | //! | ||
5 | //! But we need this for at least LRU caching at the query level. | ||
3 | pub use hir_def::db::*; | 6 | pub use hir_def::db::*; |
4 | pub use hir_expand::db::{ | 7 | pub use hir_expand::db::{ |
5 | AstDatabase, AstDatabaseStorage, AstIdMapQuery, HygieneFrameQuery, InternMacroQuery, | 8 | AstDatabase, AstDatabaseStorage, AstIdMapQuery, HygieneFrameQuery, InternMacroQuery, |