Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-def/src/expr_store/lower.rs')
-rw-r--r--crates/hir-def/src/expr_store/lower.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir-def/src/expr_store/lower.rs b/crates/hir-def/src/expr_store/lower.rs
index d70ef7ac19..f3cf2f7d81 100644
--- a/crates/hir-def/src/expr_store/lower.rs
+++ b/crates/hir-def/src/expr_store/lower.rs
@@ -3501,7 +3501,7 @@ impl ExprCollector<'_> {
#[salsa::tracked(returns(deref), cycle_result = get_constrained_lifetimes_cycle_result)]
fn get_constrained_lifetimes(
- db: &dyn DefDatabase,
+ db: &dyn SourceDatabase,
type_alias_id: TypeAliasId,
) -> Box<[u32]> {
let TypeAliasSignature { generic_params, store, ty, .. } =
@@ -3545,7 +3545,7 @@ impl ExprCollector<'_> {
}
fn get_constrained_lifetimes_cycle_result(
- _db: &dyn DefDatabase,
+ _db: &dyn SourceDatabase,
_: salsa::Id,
_id: TypeAliasId,
) -> Box<[u32]> {