diff options
author | Florian Diebold <[email protected]> | 2020-03-06 22:04:14 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2020-03-06 22:04:14 +0000 |
commit | 9ce30281f6e618b53bc5e8d54be1cd4a4eae8cee (patch) | |
tree | 71b53390e8efd4cbc6e1170c6628a24e7d526b76 /crates/ra_hir/src | |
parent | 26ae35c62e29610552167d8cfced8e7e19096576 (diff) |
Don't reuse the Chalk solver
This slows down analysis-stats a bit (~5% in my measurement), but improves
incremental checking a lot because we can reuse trait solve results.
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r-- | crates/ra_hir/src/db.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_hir/src/db.rs b/crates/ra_hir/src/db.rs index a77bf6de6..ee597cfd2 100644 --- a/crates/ra_hir/src/db.rs +++ b/crates/ra_hir/src/db.rs | |||
@@ -18,8 +18,7 @@ pub use hir_ty::db::{ | |||
18 | FieldTypesQuery, GenericDefaultsQuery, GenericPredicatesForParamQuery, GenericPredicatesQuery, | 18 | FieldTypesQuery, GenericDefaultsQuery, GenericPredicatesForParamQuery, GenericPredicatesQuery, |
19 | HirDatabase, HirDatabaseStorage, ImplDatumQuery, ImplSelfTyQuery, ImplTraitQuery, | 19 | HirDatabase, HirDatabaseStorage, ImplDatumQuery, ImplSelfTyQuery, ImplTraitQuery, |
20 | ImplsForTraitQuery, ImplsInCrateQuery, InternAssocTyValueQuery, InternChalkImplQuery, | 20 | ImplsForTraitQuery, ImplsInCrateQuery, InternAssocTyValueQuery, InternChalkImplQuery, |
21 | InternTypeCtorQuery, StructDatumQuery, TraitDatumQuery, TraitSolveQuery, TraitSolverQuery, | 21 | InternTypeCtorQuery, StructDatumQuery, TraitDatumQuery, TraitSolveQuery, TyQuery, ValueTyQuery, |
22 | TyQuery, ValueTyQuery, | ||
23 | }; | 22 | }; |
24 | 23 | ||
25 | #[test] | 24 | #[test] |