1error[E0277]: `PhantomPinned` cannot be unpinned
2 --> $DIR/rust_pinned.rs:6:14
3  |
46 |         type Pinned;
5  |         -----^^^^^^-
6  |         |    |
7  |         |    within `Pinned`, the trait `Unpin` is not implemented for `PhantomPinned`
8  |         required by this bound in `__AssertUnpin`
9  |
10  = note: required because it appears within the type `Pinned`
11