Skip to content

Commit b1453e5

Browse files
committed
Undo floundering for AliasEq, it's not the right approach
1 parent 04b57da commit b1453e5

File tree

1 file changed

+0
-7
lines changed
  • chalk-solve/src/recursive

1 file changed

+0
-7
lines changed

chalk-solve/src/recursive/mod.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -556,13 +556,6 @@ impl<'me, I: Interner> Solver<'me, I> {
556556
}
557557
}
558558

559-
DomainGoal::Holds(WhereClause::AliasEq(alias_eq)) => {
560-
let self_ty = alias_eq.alias.self_type_parameter(interner);
561-
if let Some(_) = self_ty.bound(interner) {
562-
return Err(Floundered);
563-
}
564-
}
565-
566559
DomainGoal::WellFormed(WellFormed::Ty(ty))
567560
| DomainGoal::IsUpstream(ty)
568561
| DomainGoal::DownstreamType(ty)

0 commit comments

Comments
 (0)