2019-09-30 08:58:53 +00:00
|
|
|
//! FIXME: write short doc here
|
|
|
|
|
2019-11-26 19:26:47 +00:00
|
|
|
pub use hir_def::db::{
|
|
|
|
BodyQuery, BodyWithSourceMapQuery, ConstDataQuery, CrateDefMapQuery, CrateLangItemsQuery,
|
|
|
|
DefDatabase, DefDatabaseStorage, DocumentationQuery, EnumDataQuery, ExprScopesQuery,
|
|
|
|
FunctionDataQuery, GenericParamsQuery, ImplDataQuery, InternDatabase, InternDatabaseStorage,
|
2019-12-21 16:26:05 +00:00
|
|
|
LangItemQuery, ModuleLangItemsQuery, RawItemsQuery, StaticDataQuery, StructDataQuery,
|
|
|
|
TraitDataQuery, TypeAliasDataQuery,
|
2019-10-30 14:40:13 +00:00
|
|
|
};
|
2019-10-29 11:59:55 +00:00
|
|
|
pub use hir_expand::db::{
|
2019-10-29 11:55:39 +00:00
|
|
|
AstDatabase, AstDatabaseStorage, AstIdMapQuery, MacroArgQuery, MacroDefQuery, MacroExpandQuery,
|
|
|
|
ParseMacroQuery,
|
2018-11-28 00:42:26 +00:00
|
|
|
};
|
2019-11-27 14:46:02 +00:00
|
|
|
pub use hir_ty::db::{
|
|
|
|
AssociatedTyDataQuery, CallableItemSignatureQuery, FieldTypesQuery, GenericDefaultsQuery,
|
|
|
|
GenericPredicatesQuery, HirDatabase, HirDatabaseStorage, ImplDatumQuery, ImplsForTraitQuery,
|
|
|
|
ImplsInCrateQuery, InferQuery, StructDatumQuery, TraitDatumQuery, TraitSolveQuery, TyQuery,
|
|
|
|
ValueTyQuery,
|
|
|
|
};
|
2019-02-03 19:15:31 +00:00
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn hir_database_is_object_safe() {
|
|
|
|
fn _assert_object_safe(_: &dyn HirDatabase) {}
|
|
|
|
}
|