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::{
|
2020-03-06 23:11:52 +00:00
|
|
|
AttrsQuery, BodyQuery, BodyWithSourceMapQuery, ConstDataQuery, CrateDefMapQueryQuery,
|
2020-01-03 12:59:46 +00:00
|
|
|
CrateLangItemsQuery, DefDatabase, DefDatabaseStorage, DocumentationQuery, EnumDataQuery,
|
2020-06-05 11:10:43 +00:00
|
|
|
ExprScopesQuery, FunctionDataQuery, GenericParamsQuery, ImplDataQuery, ImportMapQuery,
|
|
|
|
InternConstQuery, InternDatabase, InternDatabaseStorage, InternEnumQuery, InternFunctionQuery,
|
|
|
|
InternImplQuery, InternStaticQuery, InternStructQuery, InternTraitQuery, InternTypeAliasQuery,
|
2020-06-23 09:57:23 +00:00
|
|
|
InternUnionQuery, ItemTreeQuery, LangItemQuery, ModuleLangItemsQuery, StaticDataQuery,
|
|
|
|
StructDataQuery, TraitDataQuery, TypeAliasDataQuery, UnionDataQuery,
|
2019-10-30 14:40:13 +00:00
|
|
|
};
|
2019-10-29 11:59:55 +00:00
|
|
|
pub use hir_expand::db::{
|
2020-03-25 17:41:46 +00:00
|
|
|
AstDatabase, AstDatabaseStorage, AstIdMapQuery, InternEagerExpansionQuery, InternMacroQuery,
|
|
|
|
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::{
|
2020-03-06 23:11:52 +00:00
|
|
|
AssociatedTyDataQuery, AssociatedTyValueQuery, CallableItemSignatureQuery, FieldTypesQuery,
|
|
|
|
GenericDefaultsQuery, GenericPredicatesForParamQuery, GenericPredicatesQuery, HirDatabase,
|
2020-07-01 15:15:20 +00:00
|
|
|
HirDatabaseStorage, ImplDatumQuery, ImplSelfTyQuery, ImplTraitQuery, InferQueryQuery,
|
2020-07-12 13:26:02 +00:00
|
|
|
InherentImplsInCrateQuery, InternTypeCtorQuery, InternTypeParamIdQuery,
|
|
|
|
ReturnTypeImplTraitsQuery, StructDatumQuery, TraitDatumQuery, TraitImplsInCrateQuery,
|
|
|
|
TraitImplsInDepsQuery, TraitSolveQuery, TyQuery, ValueTyQuery,
|
2019-11-27 14:46:02 +00:00
|
|
|
};
|
2019-02-03 19:15:31 +00:00
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn hir_database_is_object_safe() {
|
|
|
|
fn _assert_object_safe(_: &dyn HirDatabase) {}
|
|
|
|
}
|