You can think of an any P as packaging a value of type Self with the generic signature <Self where Self: P>, so let’s pretend we have this syntax:
any <Self where Self: P> Self
What you’re asking for is an existential where the head type is something other than Self. For example:
any <T where …> X<T>
5 Likes