2019-09-30 03:58:53 -05:00
|
|
|
//! FIXME: write short doc here
|
|
|
|
|
2019-11-26 13:26:47 -06:00
|
|
|
pub use hir_def::db::{
|
2020-03-06 17:11:52 -06:00
|
|
|
AttrsQuery, BodyQuery, BodyWithSourceMapQuery, ConstDataQuery, CrateDefMapQueryQuery,
|
2020-01-03 06:59:46 -06:00
|
|
|
CrateLangItemsQuery, DefDatabase, DefDatabaseStorage, DocumentationQuery, EnumDataQuery,
|
2020-06-05 06:10:43 -05:00
|
|
|
ExprScopesQuery, FunctionDataQuery, GenericParamsQuery, ImplDataQuery, ImportMapQuery,
|
|
|
|
InternConstQuery, InternDatabase, InternDatabaseStorage, InternEnumQuery, InternFunctionQuery,
|
|
|
|
InternImplQuery, InternStaticQuery, InternStructQuery, InternTraitQuery, InternTypeAliasQuery,
|
2020-06-23 04:57:23 -05:00
|
|
|
InternUnionQuery, ItemTreeQuery, LangItemQuery, ModuleLangItemsQuery, StaticDataQuery,
|
|
|
|
StructDataQuery, TraitDataQuery, TypeAliasDataQuery, UnionDataQuery,
|
2019-10-30 09:40:13 -05:00
|
|
|
};
|
2019-10-29 06:59:55 -05:00
|
|
|
pub use hir_expand::db::{
|
2020-03-25 12:41:46 -05:00
|
|
|
AstDatabase, AstDatabaseStorage, AstIdMapQuery, InternEagerExpansionQuery, InternMacroQuery,
|
2020-11-24 14:57:51 -06:00
|
|
|
MacroArgTextQuery, MacroDefQuery, MacroExpandQuery, ParseMacroExpansionQuery,
|
2018-11-27 18:42:26 -06:00
|
|
|
};
|
2020-07-22 11:44:40 -05:00
|
|
|
pub use hir_ty::db::*;
|
2019-02-03 13:15:31 -06:00
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn hir_database_is_object_safe() {
|
|
|
|
fn _assert_object_safe(_: &dyn HirDatabase) {}
|
|
|
|
}
|