Auto merge of #117754 - matthewjasper:subtype-overflow, r=lcnr

Handle recursion limit for subtype and well-formed predicates

Adds a recursion limit check for subtype predicates and well-formed predicates.
`-Ztrait-solver=next` currently panics with unimplemented for these cases.
These cases are arguably bugs in the occurs check but:
- I could not find a simple way to fix the occurs check
- There should still be a recursion limit check to prevent hangs anyway.

closes #117151

r? types
This commit is contained in:
bors 2023-12-02 06:51:23 +00:00
commit a7a7df0d65

Diff content is not available