Shouldn't it include the bound
A: Unpin too?
Box contains a field of type
A, and if it's
!Unpin, we can still unpin it using e.g.
It depends on whether
Box semantically pin projects its fields. If
Pin<&mut Box<T>> doesn't let you get
Pin<P<A>>, the the allocator is never actually pinned.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.