diff options
author | Aleksey Kladov <[email protected]> | 2020-08-13 15:36:55 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-08-13 15:36:55 +0100 |
commit | ae71a631fd657368e8593feb5e025d23147afe60 (patch) | |
tree | f38493871f6598f37a9c342713ce3faff0057646 /crates/hir/src/db.rs | |
parent | 6a77ec7bbe6ddbf663dce9529d11d1bb56c5489a (diff) |
Rename ra_hir -> hir
Diffstat (limited to 'crates/hir/src/db.rs')
-rw-r--r-- | crates/hir/src/db.rs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/crates/hir/src/db.rs b/crates/hir/src/db.rs new file mode 100644 index 000000000..07333c453 --- /dev/null +++ b/crates/hir/src/db.rs | |||
@@ -0,0 +1,21 @@ | |||
1 | //! FIXME: write short doc here | ||
2 | |||
3 | pub use hir_def::db::{ | ||
4 | AttrsQuery, BodyQuery, BodyWithSourceMapQuery, ConstDataQuery, CrateDefMapQueryQuery, | ||
5 | CrateLangItemsQuery, DefDatabase, DefDatabaseStorage, DocumentationQuery, EnumDataQuery, | ||
6 | ExprScopesQuery, FunctionDataQuery, GenericParamsQuery, ImplDataQuery, ImportMapQuery, | ||
7 | InternConstQuery, InternDatabase, InternDatabaseStorage, InternEnumQuery, InternFunctionQuery, | ||
8 | InternImplQuery, InternStaticQuery, InternStructQuery, InternTraitQuery, InternTypeAliasQuery, | ||
9 | InternUnionQuery, ItemTreeQuery, LangItemQuery, ModuleLangItemsQuery, StaticDataQuery, | ||
10 | StructDataQuery, TraitDataQuery, TypeAliasDataQuery, UnionDataQuery, | ||
11 | }; | ||
12 | pub use hir_expand::db::{ | ||
13 | AstDatabase, AstDatabaseStorage, AstIdMapQuery, InternEagerExpansionQuery, InternMacroQuery, | ||
14 | MacroArgTextQuery, MacroDefQuery, MacroExpandQuery, ParseMacroQuery, | ||
15 | }; | ||
16 | pub use hir_ty::db::*; | ||
17 | |||
18 | #[test] | ||
19 | fn hir_database_is_object_safe() { | ||
20 | fn _assert_object_safe(_: &dyn HirDatabase) {} | ||
21 | } | ||