mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Rename target_ty to self_ty
This commit is contained in:
parent
bb6e1bf811
commit
c2a63b97a8
16 changed files with 27 additions and 27 deletions
|
@ -1252,7 +1252,7 @@ pub(crate) fn impl_self_ty_query(db: &dyn HirDatabase, impl_id: ImplId) -> Binde
|
|||
let generics = generics(db.upcast(), impl_id.into());
|
||||
let ctx =
|
||||
TyLoweringContext::new(db, &resolver).with_type_param_mode(TypeParamLoweringMode::Variable);
|
||||
Binders::new(generics.len(), ctx.lower_ty(&impl_data.target_type))
|
||||
Binders::new(generics.len(), ctx.lower_ty(&impl_data.self_ty))
|
||||
}
|
||||
|
||||
pub(crate) fn const_param_ty_query(db: &dyn HirDatabase, def: ConstParamId) -> Ty {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue