I'm playing around with generic associated types (GAT) and need some help. In the playground example I have two traits:
The ProducerTrait which has a generic associated type Product
I feel like I've seen a similar problem before in some other URLO thread. It clearly seems like a problem with the current GAT implementation (or perhaps more precisely with the trait solver and how it handles GATs) and I suppose its something that should be fixed eventually in the compiler. For the time being there actually are workarounds for the problem, but I'm on my phone, so I cannot demonstrate any right now.
In case you're interested in the workaround, you can provide a more complete example that shows why the where bound on ProducerUserTrait involving P::Product is even needed (probably some default implementation of a method?) and I can give you some code featuring the workaround tomorrow.