whelp those are backwards

This commit is contained in:
Douglas Creager 2025-12-12 13:05:25 -05:00
parent c85f102e70
commit 73acf0a926
1 changed files with 2 additions and 2 deletions

View File

@ -1892,11 +1892,11 @@ impl<'db> SpecializationBuilder<'db> {
}; };
for actual_callable in actual_callables.as_slice() { for actual_callable in actual_callables.as_slice() {
let when = formal_callable let when = actual_callable
.signatures(self.db) .signatures(self.db)
.when_constraint_set_assignable_to( .when_constraint_set_assignable_to(
self.db, self.db,
actual_callable.signatures(self.db), formal_callable.signatures(self.db),
self.inferable, self.inferable,
); );
self.add_type_mappings_from_constraint_set(when, polarity, &mut f); self.add_type_mappings_from_constraint_set(when, polarity, &mut f);