1error[E0277]: `PhantomPinned` cannot be unpinned 2 --> $DIR/overlapping_unpin_struct.rs:17:5 3 | 414 | fn is_unpin<T: Unpin>() {} 5 | ----- required by this bound in `is_unpin` 6... 717 | is_unpin::<S<PhantomPinned>>(); //~ ERROR E0277 8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ within `_::__S<'_, PhantomPinned>`, the trait `Unpin` is not implemented for `PhantomPinned` 9 | 10 = note: required because it appears within the type `_::__S<'_, PhantomPinned>` 11 = note: required because of the requirements on the impl of `Unpin` for `S<PhantomPinned>` 12