remove bound_type_of query; make type_of return EarlyBinder; change type_of in metadata
This commit is contained in:
parent
d822b97a27
commit
c183110cc2
164 changed files with 325 additions and 380 deletions
|
@ -26,7 +26,7 @@ pub(super) fn mangle<'tcx>(
|
|||
let key = tcx.def_key(ty_def_id);
|
||||
match key.disambiguated_data.data {
|
||||
DefPathData::TypeNs(_) | DefPathData::ValueNs(_) => {
|
||||
instance_ty = tcx.bound_type_of(ty_def_id).subst_identity();
|
||||
instance_ty = tcx.type_of(ty_def_id).subst_identity();
|
||||
debug!(?instance_ty);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue