Same for types

This commit is contained in:
Michael Goulet
2025-04-11 04:25:25 +00:00
parent 42c9bfd2b9
commit 74570e526e
11 changed files with 28 additions and 36 deletions

View File

@@ -2468,7 +2468,7 @@ fn param_env_with_gat_bounds<'tcx>(
let normalize_impl_ty_args = ty::GenericArgs::identity_for_item(tcx, container_id)
.extend_to(tcx, impl_ty.def_id, |param, _| match param.kind {
GenericParamDefKind::Type { .. } => {
let kind = ty::BoundTyKind::Param(param.def_id, param.name);
let kind = ty::BoundTyKind::Param(param.def_id);
let bound_var = ty::BoundVariableKind::Ty(kind);
bound_vars.push(bound_var);
Ty::new_bound(