aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty
diff options
context:
space:
mode:
authorLukas Wirth <[email protected]>2021-03-29 16:46:33 +0100
committerLukas Wirth <[email protected]>2021-03-29 16:47:47 +0100
commitc2a63b97a80cb738f800da61c64e748994709c31 (patch)
treeb1287d238b2d93fc3be1b1772ba860d67e716ebc /crates/hir_ty
parentbb6e1bf811bce09fdab115a4257e47cc0d5ddc82 (diff)
Rename target_ty to self_ty
Diffstat (limited to 'crates/hir_ty')
-rw-r--r--crates/hir_ty/src/lower.rs2
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
1258pub(crate) fn const_param_ty_query(db: &dyn HirDatabase, def: ConstParamId) -> Ty { 1258pub(crate) fn const_param_ty_query(db: &dyn HirDatabase, def: ConstParamId) -> Ty {