In Scala 3, how to replace General Type Projection that has been dropped?

This code does not compile in Scala 3 since type projection on an abstract type is now invalid: trait Entity: type Key type Dictionary[T <: Entity] = Map[T#Key, T] The compiler complains tha...