no really

This commit is contained in:
Douglas Creager 2025-12-12 12:52:46 -05:00
parent 4bcca58c3a
commit c85f102e70
1 changed files with 8 additions and 0 deletions

View File

@ -1582,6 +1582,14 @@ impl<'db> SpecializationBuilder<'db> {
&mut f, &mut f,
); );
} }
if let Type::TypeVar(upper_bound_typevar) = upper {
self.add_type_mapping(
upper_bound_typevar,
Type::TypeVar(typevar),
variance,
&mut f,
);
}
} }
}); });
} }