diff options
Diffstat (limited to 'crates/hir_ty/src')
-rw-r--r-- | crates/hir_ty/src/lower.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_ty/src/lower.rs b/crates/hir_ty/src/lower.rs index 9b99268e2..ee627e125 100644 --- a/crates/hir_ty/src/lower.rs +++ b/crates/hir_ty/src/lower.rs | |||
@@ -1252,7 +1252,7 @@ pub(crate) fn impl_self_ty_query(db: &dyn HirDatabase, impl_id: ImplId) -> Binde | |||
1252 | let generics = generics(db.upcast(), impl_id.into()); | 1252 | let generics = generics(db.upcast(), impl_id.into()); |
1253 | let ctx = | 1253 | let ctx = |
1254 | TyLoweringContext::new(db, &resolver).with_type_param_mode(TypeParamLoweringMode::Variable); | 1254 | TyLoweringContext::new(db, &resolver).with_type_param_mode(TypeParamLoweringMode::Variable); |
1255 | Binders::new(generics.len(), ctx.lower_ty(&impl_data.target_type)) | 1255 | Binders::new(generics.len(), ctx.lower_ty(&impl_data.self_ty)) |
1256 | } | 1256 | } |
1257 | 1257 | ||
1258 | pub(crate) fn const_param_ty_query(db: &dyn HirDatabase, def: ConstParamId) -> Ty { | 1258 | pub(crate) fn const_param_ty_query(db: &dyn HirDatabase, def: ConstParamId) -> Ty { |