unification: remove unreachable pattern

This commit is contained in:
Michael Sippel 2025-02-08 17:05:33 +01:00
parent a4837038e6
commit 389d9559cd

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})
}
}