[ty] Classify cls as class parameter (#21944)

This commit is contained in:
Micha Reiser
2025-12-12 13:54:37 +01:00
committed by GitHub
parent 4249736d74
commit bc8efa2fd8
2 changed files with 32 additions and 20 deletions

View File

@@ -119,7 +119,7 @@ impl<'db> SubclassOfType<'db> {
subclass_of.is_type_var()
}
pub(crate) const fn into_type_var(self) -> Option<BoundTypeVarInstance<'db>> {
pub const fn into_type_var(self) -> Option<BoundTypeVarInstance<'db>> {
self.subclass_of.into_type_var()
}