Finish uplifting supertraits

This commit is contained in:
Michael Goulet
2024-07-06 12:37:04 -04:00
parent 66eb346770
commit 15d16f1cd6
4 changed files with 3 additions and 16 deletions

View File

@@ -787,7 +787,7 @@ where
));
} else if let Some(a_principal) = a_data.principal() {
for new_a_principal in
D::elaborate_supertraits(self.cx(), a_principal.with_self_ty(cx, a_ty)).skip(1)
elaborate::supertraits(self.cx(), a_principal.with_self_ty(cx, a_ty)).skip(1)
{
responses.extend(self.consider_builtin_upcast_to_principal(
goal,