This commit is contained in:
Douglas Creager 2025-12-12 13:01:50 -05:00
parent 2fd7a7d944
commit e476624ef2
1 changed files with 1 additions and 1 deletions

View File

@ -1458,7 +1458,7 @@ impl<'db> PartialSpecialization<'_, 'db> {
.variables_inner(db)
.get_index_of(&bound_typevar.identity(db))?;
if self.skip.is_some_and(|skip| skip == index) {
return Some(Type::unknown());
return Some(Type::Never);
}
self.types.get(index).copied()
}