unification: remove unreachable pattern

This commit is contained in:
Michael Sippel 2025-02-08 17:05:33 +01:00
parent 3c5d7111bc
commit e53edd23b9
Signed by: senvas
GPG key ID: F96CF119C34B64A6

View file

@ -67,10 +67,6 @@ impl UnificationProblem {
}
}
(TypeTerm::Ladder(l1), TypeTerm::Ladder(l2)) => {
Err(UnificationError{ addr, t1: lhs, t2: rhs })
}
_ => Err(UnificationError{ addr, t1: lhs, t2: rhs})
}
}