Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/lib.rs')
-rw-r--r--crates/hir-ty/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/hir-ty/src/lib.rs b/crates/hir-ty/src/lib.rs
index 964eb2abc3..778dbb0ff2 100644
--- a/crates/hir-ty/src/lib.rs
+++ b/crates/hir-ty/src/lib.rs
@@ -111,8 +111,8 @@ pub use infer::{
};
pub use lower::{
FieldType, GenericDefaults, GenericDefaultsRef, GenericPredicates, ImplTraits,
- LifetimeElisionKind, LoweringMode, TyDefId, TyLoweringContext, TyLoweringInferVarsCtx,
- TyLoweringResult, ValueTyDefId, diagnostics::*,
+ LifetimeElisionKind, LifetimeLoweringMode, LoweringMode, TyDefId, TyLoweringContext,
+ TyLoweringInferVarsCtx, TyLoweringResult, ValueTyDefId, diagnostics::*,
};
pub use next_solver::interner::{attach_db, attach_db_allow_change, with_attached_db};
pub use target_feature::TargetFeatures;
@@ -221,7 +221,7 @@ pub fn type_or_const_param_idx(db: &dyn HirDatabase, id: TypeOrConstParamId) ->
}
pub fn lifetime_param_idx(db: &dyn HirDatabase, id: LifetimeParamId) -> u32 {
- generics::generics(db, id.parent).lifetime_param_idx(id)
+ generics::generics(db, id.parent).lifetime_param_idx(id, false).0
}
#[derive(Copy, Clone, PartialEq, Eq, Debug, Hash)]