diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-07 09:15:40 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-07 09:15:40 +0100 |
commit | 7a8597bc20292f81bd8dce8b5ec09aababee4a7d (patch) | |
tree | 74488258fb566dc4344165ade6067d8f2ce7298f /crates/ra_hir_ty/src/db.rs | |
parent | d4bc2f25de6297c75f7b7f029df224b650ef3143 (diff) | |
parent | 4bbc385277bcab509c321b1374f72f1ef19d7750 (diff) |
Merge #5242
5242: Switch to fully dynamically dispatched salsa r=matklad a=matklad
This improves compile times quite a bit
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir_ty/src/db.rs')
-rw-r--r-- | crates/ra_hir_ty/src/db.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_hir_ty/src/db.rs b/crates/ra_hir_ty/src/db.rs index dc06c0ee7..84afe0484 100644 --- a/crates/ra_hir_ty/src/db.rs +++ b/crates/ra_hir_ty/src/db.rs | |||
@@ -19,7 +19,6 @@ use crate::{ | |||
19 | use hir_expand::name::Name; | 19 | use hir_expand::name::Name; |
20 | 20 | ||
21 | #[salsa::query_group(HirDatabaseStorage)] | 21 | #[salsa::query_group(HirDatabaseStorage)] |
22 | #[salsa::requires(salsa::Database)] | ||
23 | pub trait HirDatabase: DefDatabase + Upcast<dyn DefDatabase> { | 22 | pub trait HirDatabase: DefDatabase + Upcast<dyn DefDatabase> { |
24 | #[salsa::invoke(infer_wait)] | 23 | #[salsa::invoke(infer_wait)] |
25 | #[salsa::transparent] | 24 | #[salsa::transparent] |