You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One could imagine impls of Partition that subdivide into another implementation of Partition. Currently this would have to be worked around by wrapping such partitions in an enum that comprises both. However the following does not compile:
Given rust-lang/rust#22446, this is not particularly useful to implement currently. The split between Subdivide and Partition is a problem as one has to provide the information that a subdivided part is a partition in a where clause, and this information does not propagate properly.
Consider the
Partition
trait:One could imagine impls of Partition that subdivide into another implementation of Partition. Currently this would have to be worked around by wrapping such partitions in an enum that comprises both. However the following does not compile:
For this to work rust-lang/rust#20551 needs to be fixed (only if such recursion is intended to be allowed, of course).
The text was updated successfully, but these errors were encountered: